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!

Harnessing Splunk’s Federated Search for Amazon S3

Managing your data effectively often means balancing performance, costs, and compliance. Splunk’s Federated ...

Infographic provides the TL;DR for the 2024 Splunk Career Impact Report

We’ve been buzzing with excitement about the recent validation of Splunk Education! The 2024 Splunk Career ...

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...