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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...