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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...