Dashboards & Visualizations

How to create and add each month (January, February, March, etc) to the preset time inputs for the time range picker?

renanprado96
Path Finder

Como criar "presets" dos meses, exemplo:
Janeiro, Fevereiro, Março, Abril, etc..
The months have to be fixed
Thanks..

0 Karma
1 Solution

woodcock
Esteemed Legend

I think that you are saying that you would like to add values to the timepicker. If so, try this:

Edit this file on your Search Head:

/opt/splunk/etc/system/local/times.conf

Add this entry (and similar):

[January]
label = January
header_label = January
earliest_time = -0d@y
latest_time = -0d@y+32d@mon

View solution in original post

woodcock
Esteemed Legend

I think that you are saying that you would like to add values to the timepicker. If so, try this:

Edit this file on your Search Head:

/opt/splunk/etc/system/local/times.conf

Add this entry (and similar):

[January]
label = January
header_label = January
earliest_time = -0d@y
latest_time = -0d@y+32d@mon

renanprado96
Path Finder

Cool, and how it would be in February?
:)

0 Karma

somesoni2
Revered Legend

Use
earliest_time=@y latest_time=@y+1mon for jan
earliest_time=@y+1mon latest_time=@y+2mon for feb
earliest_time=@y+2mon latest_time=@y+3mon for mar etc

renanprado96
Path Finder

Very Thanks!!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Where or how do you want to use the presets?

---
If this reply helps you, Karma would be appreciated.
0 Karma

renanprado96
Path Finder

Add months here:

alt text

0 Karma

woodcock
Esteemed Legend

Multi-lingual text greatly reduces the likelihood of good responses.

0 Karma

renanprado96
Path Finder

How to create "presets" of months, for example:
January, February, March, April, etc ..
The months have to be fixed
Sorry..

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...