Splunk Search

How to automatically update a CSV lookup based on a daily CSV file output from a curl script?

msudhindra
Path Finder

Hello,

I have a CURL script that generates a CSV file, and I would like to use that CSV file as a lookup for some searches that we run in Splunk.

The CURL script runs once daily and generates the output file.

My question is, how do I get the lookup table to update automatically whenever a new file is placed in the specified location?
If I define a lookup using the Web GUI, would the lookup table be automatically updated whenever the CSV file is updated?

Also, If the lookup file is generated on one node of a 4 node search head cluster, will it automatically be propagated to all the cluster nodes, or does it need to be manually defined on each node?

Thanks and Regards,
Madan Sudhindra

1 Solution

MuS
SplunkTrust
SplunkTrust

Hi msudhindra,

The lookup will be updated as soon as you put the new csv in place, also the lookup will be propagated across the Search Head Cluster http://docs.splunk.com/Documentation/Splunk/latest/DistSearch/HowconfigurationworksinSHC#How_configu...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi msudhindra,

The lookup will be updated as soon as you put the new csv in place, also the lookup will be propagated across the Search Head Cluster http://docs.splunk.com/Documentation/Splunk/latest/DistSearch/HowconfigurationworksinSHC#How_configu...

cheers, MuS

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...