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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...