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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...