Monitoring Splunk

inputlookup searches

Eshaac
Engager

How to use a inputlook to run several different indexes depending on which option the user selects on the drop down and then using the lookup to collate the different fields into one field which stops having to rewrite a query.

Tags (1)
0 Karma

lakshman239
Influencer

How about having a dashboard with 'drop-down' showing the list of possible application names ? . something like below where you can populate the values and setup default/initial values etc.. The application selected by user is then available in the "appname" token.

..
..

|inputlookup xyz | stats count by application | table application

//using value from token
You can then use the value captured in token to select required application/index/sourcetype from the lookup
|inputlookup xyz | search APPLICATION=$appname$

Pls also refer to:

https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/tokens

0 Karma

skoelpin
SplunkTrust
SplunkTrust

This doesn't make sense.. You should include some examples of what your expecting

Also, why use inputlookup over lookup? Why use lookup over coalesce?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...

Index This | What has many keys but can’t unlock a door?

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