Splunk Search

Inputlookup Multiple Tables from REST

jamin358
Explorer

I have a number of Lookups that I create with similar naming convention (and plan to create more in the future).

I want to be able to have a saved search that searches across all these lookups.

The following does not work as subsearches returned provide a litsearch of  (title="chosen_lookups_abcd" OR title="chosen_lookups_bcda" ) 

|inputlookup append=t [|rest /servicesNS/-/-/data/lookup-table-files | search title=chosen_lookups* | table title ]

 

Ideally, something like the following would work

| inputlookup append=t chosen_lookups*

 

Thanks in advance 

Labels (1)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The inputlookup command reads from a single lookup.  There is no provision for reading multiple files at once (via wildcards, for instance).  Go to https://ideas.splunk.com to make a case for this enhancement to inputlookup.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

New Year. New Skills. New Course Releases from Splunk Education

A new year often inspires reflection—and reinvention. Whether your goals include strengthening your security ...

Splunk and TLS: It doesn't have to be too hard

Overview Creating a TLS cert for Splunk usage is pretty much standard openssl.  To make life better, use an ...

Faster Insights with AI, Streamlined Cloud-Native Operations, and More New Lantern ...

Splunk Lantern is a Splunk customer success center that provides practical guidance from Splunk experts on key ...