In AWS CloudWatch Logs Insights how can I use the equivalent of SQL subqueries?
Some requests are giving errors, and I want to get better insights into which ones / why. To do this I want to get additional information from the same log stream, but other entries – effectively matching between the “error” entry, and the “info” entry on request Id.
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