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!

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 ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...