Splunk Search

timechart span in saved search

aaronkorn
Splunk Employee
Splunk Employee

Is there a way to pass a timechart span variable to a saved search being called from a drop down? Is there a way to pass it strictly through the xml?

0 Karma

landen99
Motivator

aholzer
Motivator

No. If you are using a saved search you can't pass variables to it.

However, if you convert the saved search to a macro, then call the macro from your xml with a Search module rather than a SavedSearch module you get the behavior that you are looking for.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...