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
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...