Getting Data In

How to configure forwarder filename with timestamp

riyastk
Observer

I have a custom application and the log gets created at 7:00 UTC every day. The log file will have timestamp in the filename. How do I configure the forwarder to send the file to Splunk indexer?

Example: /var/log/homerun-20200104.

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

In your inputs.conf monitor stanza you can use wildcards:

[monitor:///var/log/homerun-*]
index = foo
sourcetype = bar
etc.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

In your inputs.conf monitor stanza you can use wildcards:

[monitor:///var/log/homerun-*]
index = foo
sourcetype = bar
etc.
0 Karma
Get Updates on the Splunk Community!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

January 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...