Getting Data In

What is the max value for maxHotSpanSecs

stevesmoot
Explorer

Manual says to not go below an hour, but I am getting:
Invalid key in stanza [main] in /opt/splunk/etc/system/local/server.conf, line 46: maxHotSpanSecs (value: 31536000).
so it sounds like there is a max too.

Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That error message means the string on the left side of the = is not recognized.

To find the correct attribute name, look in /opt/splunk/etc/system/README/server.conf.spec.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That error message means the string on the left side of the = is not recognized.

To find the correct attribute name, look in /opt/splunk/etc/system/README/server.conf.spec.

---
If this reply helps you, Karma would be appreciated.
0 Karma

stevesmoot
Explorer

looks like it is actually in indexes.conf.spec
but even there it says max value of 4294967295 which mine is less than.
and the "spec" is
maxHotSpanSecs =
which 31536000 certainly is

So I think the real problem is I have it in server.conf but it should be in indexes.conf under the main stanza, thanks for the clue!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Happy to help. If your problem is resolved, please accept the answer to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
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 ...