Getting Data In

change date of import data

indeed_2000
Motivator

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
Motivator

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!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...