Relative Content

Tag Archive for aws-cloudwatch-log-insights

AWS Log Insight – Combine Time Series Graphs into a single graph

I’m pretty new to AWS log insights and I’ve been having problems with plotting several data points over a single graph. Essentially, I have logs that have two fields in question I’d like to us, the first being gameName and the other is connections (current connections).

multiple stats command in logs insights query

fields @timestamp, @message, @paths
| filter @logStream = “collection-wallet-gateway” and @message like /Log Response/
| parse “path=http://wallets.simpaisa.com/v2/wallets/transaction/,” as @path
| sort @timestamp desc
| stats count(
) as @total by @path
| stats sum(@total) as @totaltransactions by @path
| display @message, @path, @total, @totaltransactions