Splunk Search

metadata doesn't return correct events due to specific date

indeed_2000
Motivator

Hi

I have several file in "myindex", when I set date "yesterday" I expect show just yesterday files , but it return older than yesterday files somtimes!

e.g today is 10/31/2020, and I run this spl (time set to yesterday)

 

command:

| metadata type=sources index=myindex

output:

/app/20211031/server1.20211031.zip

/app/20211031/server2.20211031.zip

/app/20211025/server2.20211025.zip

 

FYI: modify date of this file server2.20211025.zip belong to 20211025

 

Any idea?

Thanks,

Labels (4)
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

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

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...