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!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...