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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...