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)

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...