Splunk Search

Default span size change?

unclethan
Path Finder

Is it possible to adjust the default span size for a given time-range?

When using timechart the default span size works fine unless I choose "Last 7 days" , at which point the span size is 1day, meaning I have 7 data points. I would much prefer to have at least 28 datapoints (ie span=6h) to make a meaningful graph.

Where, if anywhere, can I change the default span size for "Last 7 days"?

Tags (2)
0 Karma

lguinn2
Legend

AFAIK, there is no way to change the default span. The times.conf file is where "Last 7 days" is defined - but times.conf does not specify the default span for the timechart command.

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