Splunk Search

missing results from search to display indexed volume

remy06
Contributor

I intend to set this as a saved search that will show the daily indexed volume for the previous month.

Here's the search:

index=_internal todaysBytesIndexed LicenseManager-Audit source=*license_audit.log | eval totalMB=todaysBytesIndexed/1024/1024 | timechart span=1d sum(totalMB)

And the time range:

Start: -1mon@mon

End: @mon

However,I noticed the result of the first few days of the month is always blank.

For eg.


_time sum(totalMB)
1 7/1/11 12:00:00.000 AM
2 7/2/11 12:00:00.000 AM
3 7/3/11 12:00:00.000 AM
4 7/4/11 12:00:00.000 AM
5 7/5/11 12:00:00.000 AM 2170.493555
6 7/6/11 12:00:00.000 AM 1543.009449
...
...

Tags (3)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

The default frozenTimePeriodInSecs, i.e., the retention time, for the _internal index where this data is indexed is only 2419200 seconds, i.e., 28 days. This means that data may be stored for as little as 28 days. When combined with a default bucket size of only 100 MB for the _internal index, this means that you are very unlikely to have data much more than that.

These are set in the default indexes.conf file. You can of course override and increase this default.

View solution in original post

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

The default frozenTimePeriodInSecs, i.e., the retention time, for the _internal index where this data is indexed is only 2419200 seconds, i.e., 28 days. This means that data may be stored for as little as 28 days. When combined with a default bucket size of only 100 MB for the _internal index, this means that you are very unlikely to have data much more than that.

These are set in the default indexes.conf file. You can of course override and increase this default.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...