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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...