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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...