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
SplunkTrust
SplunkTrust

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
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...