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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...