Splunk Search

passing simple search result as token to chart searchstring without any input in a form using simple xml

lahariveerlapat
Explorer

I have a search query which results the top 1 value from a field called "eventtype" and this top 1 value will change time to time since my dashboard is refreshing for every 1 minute.Now I want to pass this top 1 value as a token to my chart searchstring.means I want to run a search automatically when form is loading and passing the searchresult as token Can we do this one using simple xml.

0 Karma

yannK
Splunk Employee
Splunk Employee

recommendation : use a single search with postprocess to populate your top1 table, and the chart.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...