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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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