Monitoring Splunk

"Cannot parse into key-value pair" error after upgrading to 4.1.4

Lowell
Super Champion

I just upgraded one of my splunk forwarders to version 4.1.4 and now I'm seeing the following error message in my internal logs:

WARN IniFile - C:\Program Files\Splunk\etc\apps\search\default\inputs.conf, line: 2: Cannot parse into key-value pair: This file intentionally left empty. Please do not delete it

Tags (2)

Lowell
Super Champion

This problem is caused by a bogus configuration file entry. To prevent this error message, open up your $SPLUNK_HOME/etc/apps/search/default/inputs.conf config file, which could contain the following:

# Copyright (C) 2005-2010 Splunk Inc.  All Rights Reserved.  Version 4.1.4
This file intentionally left empty. Please do not delete it.

Simply remove or comment out (add a "#") to the second line and the error message will go away.


Example of a fixed file:

# Copyright (C) 2005-2010 Splunk Inc.  All Rights Reserved.  Version 4.1.4
# This file intentionally left empty. Please do not delete it.
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!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...