i'm using sumologic. I have this table: query and table
and want to display data in this format:
- X axis - timestamp
- Y axis - stacked values for duration (group by traceId, so one stacked column consist of first method duration/second method duration/.../n-th method duration for ONE trace id)
I have this query:
_source="http_metrics" and _collector="Hosted collector"
| timeslice 5m
| extract "traceId\":\"(?<traceId>.*?)\",.*?name\":\"(?<name>.*?)\",.*?timestamp\":(?<timestamp>.*?),.*?duration\":(?<duration>.*?),.*arguments\":(?<arguments>.*?)}" multi
| formatDate(toLong(timestamp), "HH:mm:ss:SSS a") as timestamp
| number(duration)
| values(duration) as duration by traceId, name, timestamp
| transpose row name,timestamp column traceId
| sort by timestamp
How can i get stacked column chart for this issue? I can't use examples from sumologic, because they've used chart with 2 fields - time and error code, in my case i have 3 fields - name, traceId and timestamp (and duration as value)