How to get +/- 1 seconds logs information along with existing sumo log query?
“BlockedThreadChecker” AND ” – Thread Thread” AND ” has been blocked” | parse regex “Thread Thread[.*?] has been blocked for (?<blocked_time_ms>d+) ms” | where blocked_time_ms != “” | fields _raw, _messageTime , blocked_time_ms // Step 2: Create a transaction around the identified log entry within a +/-1 second window | where _messageTime >= _messageTime – […]
How to Set Up an Alert for Monthly Median Latency Exceeding a Threshold in Sumo Logic?
I need to monitor the median latency of a specific API route in my service and set up an alert if the monthly median exceeds a defined threshold. For instance, consider the following example log entries:
Get count of each value in a json array
I have a field that is a JSON array. For example, here’s three records:
SumoLogic – Get count of each value in a json array
I have a field that’s a json array. For example, here’s three records:
Aggregate Counter values over long time range using SumoLogic metric query language
I have a metric of type Counter that counts the number of workflows completed. I’m trying to use it to display the total number of workflows completed over the selected period of time.