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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...