Splunk Search

Timechart with two graphs

epacke
Path Finder

Hi!
Is there any way to show the following search on a timechart with two graphs lines, one with the number of hits for 500 and one for the number of hits that has time_taken value of over 16000?

(time_taken>16000 OR sc_status=500) s_port=111 (c_ip=192.168.1.1 OR c_ip=192.168.1.2)

Thanks for any help,
Patrik

Tags (1)
0 Karma
1 Solution

epacke
Path Finder

Solved it, hope it can help someone else.

(time_taken>16000 OR sc_status=500) s_port=5607 (c_ip=172.18.175.252 OR c_ip=172.18.175.253) | eval Reason = if(time_taken>16000,"Too slow",if(sc_status=500,"Internal Server Error","")) | timechart count by Reason

View solution in original post

0 Karma

epacke
Path Finder

Solved it, hope it can help someone else.

(time_taken>16000 OR sc_status=500) s_port=5607 (c_ip=172.18.175.252 OR c_ip=172.18.175.253) | eval Reason = if(time_taken>16000,"Too slow",if(sc_status=500,"Internal Server Error","")) | timechart count by Reason

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...