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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...