Splunk Search

How do you pass a search result from one panel to a different panel?

olivier797
Loves-to-Learn

If I get a search result as like flag="AAA" in a Panel, how can I pass AAA to another Panel as a search variable like
index=something

|search some_column="*AAA"
0 Karma

Deepz2612
Explorer

Hi,will the above works if the search results more than one value

0 Karma

niketn
Legend

@olivier797 is flag="AAA" only value in the Search panel (single result or single row)? Or can your first panel have more that one rows with multiple values for some_column?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Vijeta
Influencer

you need to define the token after your first search query in the dashboard , in the <done><set token="value">$result.field$</set></done> tag. And use the defined token in the second search search x =$value$. There are many examples and documentation for token usage. May be this will help https://docs.splunk.com/Documentation/Splunk/7.2.0/Viz/ContextualDrilldown

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!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

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