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
Get Updates on the Splunk Community!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...