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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...