Splunk Search

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

New Member

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

Explorer

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

0 Karma

SplunkTrust
SplunkTrust

@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

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