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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...