Splunk Search

How to split time into 3 shifts with labels on x-axis?

dzyfer
Path Finder

Hi, I have a timechart that is currently split into 8-hour shift bins, however as it is a timechart, the x-axis only shows the timestamps, while I would like the bins to be labeled by their shifts.

Sample data:

Count | Time | Shift

500 | 0700 (Yesterday) | Shift A

750 | 1500 (Yesterday) | Shift B

500 | 2300 (Yesterday) | Shift C

700 | 0700 (Today) | Shift A

600 | 1500 (Today) | Shift B

 

One tricky part is that "Shift C" overlaps between 2 dates as well.
Any ideas on how to define the time range for the shifts, then split and label the bins by their shifts would be greatly appreciated. Thanks!

Labels (7)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| table shift count
0 Karma
Get Updates on the Splunk Community!

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

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...

Reduce and Transform Your Firewall Data with Splunk Data Management

Managing high-volume firewall data has always been a challenge. Noisy events and verbose traffic logs often ...