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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...