Getting Data In

change date of import data

indeed_2000
Builder

hi
i'm copy log of my application to splunk server with script (i don't use forwarder here)

now problem is log send to splunk server with 1 day delay!
for example yesterday log rich to server today! (real date of logs only exist in name of log file, even in each line of log only exist time not date)

as you know splunk consider date of import log file as date of events!
alt text

now how can I force splunk to use date that exist in log file name?

FYI: file extension are bz2.
thanks.

0 Karma

to4kawa
Ultra Champion
0 Karma

indeed_2000
Builder

Does it work on compress file?

0 Karma

to4kawa
Ultra Champion

This answer explains to change file name to timestamp.
Does it work on compress file?
I can't understand what you want.

0 Karma
Get Updates on the Splunk Community!

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...

Reminder! Splunk Love Promo: $25 Visa Gift Card for Your Honest SOAR Review With ...

We recently launched our first Splunk Love Special, and it's gone phenomenally well, so we're doing it again, ...