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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...