Splunk Search

how long metadata last, retention policy?

splunkreal
Motivator

Hello,

I'm using metadata on hosts to get their first event time etc, are they accurate even on oldest records?

| metadata type=hosts

By the way where are they stored?

Thanks 🙂

* If this helps, please upvote or accept solution 🙂 *
Labels (2)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi @splunkreal,

These records are accurate if you run this search with All Time range. 

If you specify a time range other than All Time for your search, the search results might not be precise. The metadata is stored as aggregate numbers for each bucket on the index. A bucket is either included or not included based on the time range you specify.

The retention is the same as with particular index setting.

https://docs.splunk.com/Documentation/SplunkCloud/8.1.2101/SearchReference/Metadata#Time_ranges 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

scelikok
SplunkTrust
SplunkTrust

Hi @splunkreal,

These records are accurate if you run this search with All Time range. 

If you specify a time range other than All Time for your search, the search results might not be precise. The metadata is stored as aggregate numbers for each bucket on the index. A bucket is either included or not included based on the time range you specify.

The retention is the same as with particular index setting.

https://docs.splunk.com/Documentation/SplunkCloud/8.1.2101/SearchReference/Metadata#Time_ranges 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

splunkreal
Motivator

Awesome thanks

* If this helps, please upvote or accept solution 🙂 *
0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...