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

View solution in original post

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, an upvote 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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!