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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...