Splunk Search

Display only weekdays in Time chart

AKG11
Path Finder

Hi,

Is it possible to display only weekdays in Time chart ? 

PS: I am not looking to discard the data for weekend. Just in Column chart it should not display the weekend dates

on weekend its always 0 so hoping to exclude from chart

AKG11_0-1710955841881.png

 

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

The _time field is given special treatment in most if not all charts such that a complete timeline axis is used. If you want to exclude sections, replace the _time field with another, you may want to format the time with strftime() otherwise the x-axis will just be the time in epoch format (seconds since start of 1970)

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

The _time field is given special treatment in most if not all charts such that a complete timeline axis is used. If you want to exclude sections, replace the _time field with another, you may want to format the time with strftime() otherwise the x-axis will just be the time in epoch format (seconds since start of 1970)

Get Updates on the Splunk Community!

See Splunk Platform & Observability Innovations at Cisco Live EMEA

Hi Splunkers, Learn about what’s next for Splunk Platform at Cisco Live EMEA.  Data silos are a big challenge ...

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...