Installation

Splunk errors "Invalid key in stanza" after upgrading to 6.4.6

caagrawal
New Member

After we upgraded splunk from 6.4.5 to 6.4.6 we see lot of stanza related errors. Ran "splunk btool check" to generate report. Below are few of 100s of errors:

    Invalid key in stanza [CPU Used-Summary] in /opt/splunkforwarder/etc/apps/xxx/default/savedsearches.conf, line 10: dispatch.earliest_time  (value:  -5m@m).
    Invalid key in stanza [CPU Used-Summary] in /opt/splunkforwarder/etc/apps/xxx/default/savedsearches.conf, line 11: dispatch.latest_time  (value:  -0s@s).
    Invalid key in stanza [CPU Used-Summary] in /opt/splunkforwarder/etc/apps/xxx/default/savedsearches.conf, line 12: enableSched  (value:  1).
            Invalid key in stanza [Disk Used-Summary] in /opt/splunkforwarder/etc/apps/xxx/default/savedsearches.conf, line 23: cron_schedule  (value:  */30 * * * *).
Tags (1)
0 Karma

hardikJsheth
Motivator

All these are valid keys in saved searches.conf.

Can you check savedsearches.conf.spec file under $SPLUNK_HOME/etc/system/README/ contains these values like dispatch.latest_time, dispatch.earliest_time, enableSched?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...