Dashboards & Visualizations

How to pass Timepicker token value to a macro?

theouhuios
Motivator

Hello

I am trying to pass $field1.earliest$ value from a timepicker to a macro as an argument, but the macro gives an error saying that it can only alphanumeric, _ and - characters. Any idea on how I can overcome this and pass the value?

mreynov_splunk
Splunk Employee
Splunk Employee

alias the the _timestamp field to another name?

Get Updates on the Splunk Community!

Splunk Lantern | Getting Started with Edge Processor, Machine Learning Toolkit ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...