Security

index

Siddharthnegi
Contributor

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

Labels (1)
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 Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...