Reporting

How to pass a parameter to a report that uses federated search?

Tommiee
Loves-to-Learn Everything

Hello,

 

I have a report that uses federated search:

index="federated:xxx" filter="Value"
| rest_of_the_search 

I can insert it in my dashboards as follow and it works: 

<search id="base_search_name" ref="report_name"></search>

 

However, I now want to give an argument to this second report:

index="federated:xxx" filter=$token$
| rest_of_the_search 

So that I can call it like this:

<search id="base_search_name2">
<query>| savedsearch "report_name2" token=$dashboard_token$</query>
</search>

 

This does not work. Because probable "savedsearch" does not work with federated search?

https://docs.splunk.com/Documentation/Splunk/9.0.1/Search/Aboutfederatedsearch

 

 

Long story short,

How to pass a parameter to a report that uses federated search

 

 

Thanks in advance,

Tom

 

 

 

 

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...