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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...