Plot a field on y axis
Hello,
Below is my simple search query.
origin "/com/prod/project"
| parse "Time taken to process: * milliseconds\"}" as TimeTaken
I would like to plot TimeTaken for a request on Y axis and Time on X axis. I understand this is a basic use case but still couldn't succeed.
Any help is much appreciated.
-
Archana, you can use the "timeslice" operator to accomplish that.
Try adding this to the end of your query:
| timeslice 1m
| count by _timesliceYou can then click on the "Line Chart" icon to better visualize your data.
Here is a link with more info on the "timeslice" operator: https://help.sumologic.com/05Search/Search-Query-Language/Search-Operators/timeslice
Hope that helps!
Please sign in to leave a comment.
Comments
1 comment