Splunk Enterprise

How to get the latest version of a lookup file

yossefn
Path Finder

Hi, 

I have a SQL job that exports a .csv table to our file server with one column of user names in the file. This job is running once a day at the morning and writing a new file every day with the same name. Since Iv'e uploaded the file once, I can't see the changes of the new files in the next days. 

Is there any option for me to monitor this file as a lookup and run a searches against the most recent data?

Thank you, 

Yossi. 

 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

If you can have the SQL job write the CSV file to your app's 'lookup' directory then your queries can reference it using the lookup command.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

If you can have the SQL job write the CSV file to your app's 'lookup' directory then your queries can reference it using the lookup command.

---
If this reply helps you, Karma would be appreciated.

yossefn
Path Finder

Looks like the SQL will have a little problem to write to a UNIX path, but we'll solve it with different tool to build a job that will copy the lookup file and write it the the Splunk server. 

Thank you @richgalloway for the idea. 

0 Karma
Get Updates on the Splunk Community!

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 ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...