Splunk Search

Timechart different job

lain179
Communicator

I would like to draw a time chart that shows the jobs that are running.

For example:
- Job A was running from 8am to 9am
- Job B was running from 8:30am to 11am
- Job C was running from 2pm to 5pm

Then the time chart will have a line going from 8am to 9am, another line from 8:30am to 11am and another from 2pm to 5pm. Each line will have different color and if I hover the mouse over the lines, the labels will show the name of the jobs Job A, Job B and Job C respectively.

How can I accomplish that?

Thanks.

Tags (1)
0 Karma
1 Solution

lain179
Communicator

I got it to work with this search and drew the chart in splitSeries mode.

sourcetype="Engine" Server="ABC" | eval runvalue=8 | timechart limit=0 values(runvalue) by JobName

View solution in original post

lain179
Communicator

I got it to work with this search and drew the chart in splitSeries mode.

sourcetype="Engine" Server="ABC" | eval runvalue=8 | timechart limit=0 values(runvalue) by JobName

martin_mueller
SplunkTrust
SplunkTrust

What's your data? What have you tried so far?

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...