Getting Data In

Dynamic lookup file name in Transforms.conf

sscandoit
Explorer

Hi,

We have a cron job which periodically updates the lookup file. The file name is of the format lookup_mmddyyyy.csv where mmddyyyy is date on which the file is generated. Currently I manually change the file name to lookup.csv since the transforms.conf has following:

[AppLogLookup]

case_sensitive_match=false

filename=lookup.csv

Is there any way I give the name with date? for e.g.

[AppLogLookup]

case_sensitive_match=false

filename=lookup_mmddyyyy.csv

Appreciate all the help.

Thanks,
Suvelee

Tags (2)
1 Solution

Linegod
Path Finder

If it were me, I would symbolically link the 'lookup.csv' to your updated lookup_mmddyyy.csv' when you create it to make it work.

View solution in original post

0 Karma

Linegod
Path Finder

If it were me, I would symbolically link the 'lookup.csv' to your updated lookup_mmddyyy.csv' when you create it to make it work.

0 Karma

sscandoit
Explorer

Thanks a lot. That's an easy solution.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...