Dashboards & Visualizations

Can I use tokens in a search from another search results?

YuliyaVassilyev
Explorer

I have two panels - Network panel and Details panel - and a text input. My Details panel loads based on the results from my text input. What I would like to do is to create a token for the results in the Details panel, and then load the Network Panel with the matching values from the Details Panel. 

My text input token is text_token, and I created a token for the Details Panel:

<done>
<set token="result_token">$result.my_field$</set>
</done>

Appreciate any help! Thank you.

Labels (2)
0 Karma

renjith_nair
Legend

Of course you can use token from a different search result.

However, if you are setting the token as result.field, you can get only the result of the first row in the token.

Reference : Tokens 

Alternatively, you may use drilldown on the result set to make it depend on any row

Reference : Use drilldown for dashboard interactivity 

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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