Splunk Search

How do you find the properties/metadata of a lookup file via REST API?

koshyk
Super Champion

We have certain automated lookup files, which get updated by various feeds. Any chance to get the properties of these lookup files like last modified, size ? i.e. metadata about the lookup file using REST API?

As per Splunk API, i checked below properties endpoint, but it can drill down up-to the list of lookup files and not specific lookup/csv files. The last_updated field is incorrect in this endpoint and hence this doesn't work. I'm looking for a similar one

| rest splunk_server=local /services/properties/lookups/
0 Karma
1 Solution

DMohn
Motivator

Have you tried | rest splunk_server=local /servicesNS/-/-/data/lookup-table-files

View solution in original post

DMohn
Motivator

Have you tried | rest splunk_server=local /servicesNS/-/-/data/lookup-table-files

koshyk
Super Champion

Thank you mate. This one is correct and the updated timestamp seems correct.

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...