Monitoring Splunk

Is there a way to monitor the status of all lookup files through a search?

leftinnerouter
Explorer

Is there a way to monitor the status of all lookup files through a search query.

I would like to specifically show all lookups that are unreadable and alert on these.

Labels (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You can use the REST API

| rest services/data/lookup-table-files

to get the look files - or you can do that in a script using the REST API

https://docs.splunk.com/Documentation/Splunk/8.2.7/RESTREF/RESTknowledge

Not sure how you can detect 'unreadability' on those though. Via the UI, you may be limited in what you can discover about the state of a file, but writing a script directly, which runs in the OS, you will have better ability to check the file itself.

 

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