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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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