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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...