Other Admin

search results only for 3 months

Gaya3_devi
Explorer

Hi Splunkers,
i have been working on a dashboard for that I need the data for last 7 months from jan 2024 to till date when i was searching for the logs it was only showing for the last 3 months data i.e., from 10, jun to till date and gradually all the logs are disappearing is there any way to fix this...
i tried this query 

| tstats earliest(_time) as first, latest(_time) as last where index=foo | fieldformat first=strftime(first,"%c") | fieldformat last=strftime(last,"%c")

the result shows
index="my-index" 
               first                                                       last 

Mon Jun 10 04:19:23 2024     Tue Aug 27 07:50:04 2024

Gaya3_devi_0-1724745391447.png

Labels (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

It's natural that old data is getting rolled out of your index when you're either reaching retention limits or your index (or whole volume) hits size limits. So check your index and volume parameters and your index size usage.

0 Karma

Gaya3_devi
Explorer

how to check index and volume parameters and index size

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Depends on your environment. If you have an all-in-one installation, the easiest method would be to go to settings->indexes

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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