Hi
i am trying to plot a timechart for multiple duration windows which service is taking time to respond inorder to segregate how many requests are breaching SLA based on this timeline , is it possible to plot this kind of computation ?
index=<<index name>> | rex field=_raw "duration=(?<Time>.*?)," | search (>200 OR >250 OR >300 OR >350) | chart or timechart by Timeduration
example : each request has its own response time like 300, 350 ,260,360ms for each request so wanted to look for the chart or timechart based on the requests taking >200 count, >250 count, >300 count > 350 count as this has overlapping aswell to rule out how many requests are falling in each time span, can i get a help pls
Thanks in advance
Hi @kumar497,
ok, I suppose that Timeduration is the classification of the duration, in this case, please try something like this:
index=<index_name>
| rex "duration\=(?<Time>.[^,]?)"
| eval Timeduration=case(Time>350,">350", Time>300,">300", Time>250,">250", Time>200,">200")
| timechart count BY Timeduration
Ciao.
Giuseppe
Hi @kumar497,
some questions:
Ciao.
Giuseppe
Hi @gcusello
Thanks
Hi @kumar497,
ok, I suppose that Timeduration is the classification of the duration, in this case, please try something like this:
index=<index_name>
| rex "duration\=(?<Time>.[^,]?)"
| eval Timeduration=case(Time>350,">350", Time>300,">300", Time>250,">250", Time>200,">200")
| timechart count BY Timeduration
Ciao.
Giuseppe
Thanks it works
Hi @kumar497,
good for you, see next time!
Ciao and happy splunking
Giuseppe
P.S.: Karma Points are appreciated 😉