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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

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 ...