Splunk Search

REST endpoints /data/indexes and/data/indexes-extended give different number of event counts

thenhaque
Explorer

I'm trying to obtain the total number of events stored in an index. However, using 2 REST endpoints give me two different results. Would anyone know why the difference and which number we should trust?
alt text

0 Karma

strive
Influencer

indexes-extended data is updated periodically.
Usage details
The default update period is 10 minutes, as defined by the collectionPeriodInSecs attribute in the $SPLUNK_HOME/etc/apps/introspection_generator_addon/default/server.conf file.

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!