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!

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, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...