Security

index

Siddharthnegi
Contributor

Hello I want to see all indexes latest data time. like when did the latest data came to this index.

0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

You can do

| tstats max(_time) as latest where index=* by index

but depending on the time range you use for the search it will only return data for those indexes that have data during that timespan

You can also do 

| rest /services/data/indexes count=0
| table title maxTime minTime

 

View solution in original post

bowesmana
SplunkTrust
SplunkTrust

You can do

| tstats max(_time) as latest where index=* by index

but depending on the time range you use for the search it will only return data for those indexes that have data during that timespan

You can also do 

| rest /services/data/indexes count=0
| table title maxTime minTime

 

Get Updates on the Splunk Community!

Index This | How many sides does a circle have?

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

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...