Getting Data In

getting typos message on universal forwarder

keshab
Path Finder
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 3: autoLBUseDNS  =  false
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 4: backoffOnFailure  =  30
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 6: blockOnQueueFull  =  true
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 9: disableBackoffOnFailure  =  false
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 11: dropClonedEventsOnQueueFull  =  5
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 17: maxPersistentQueueSizeInMegs  =  1024
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 18: persistentQueuePath  =  /usr/local/splunkforwarder/var/run/splunk/persistent_tcp_queue
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 19: readTimeout  =  300
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 22: splunktcpVersion  =  --splunk-cooked-mode-v2--
Possible typo in stanza [tcpout] in /usr/local/splunkforwarder/etc/apps/SplunkUniversalForwarder/local/outputs.conf, line 25: usePersistentQueue  =  false
There might be typos in your conf files. For more information, run 'splunk btool check --debug'
Tags (1)
0 Karma

kristian_kolb
Ultra Champion

There is no such directive as

autoLBUseDNS = false

That's why it is considered a typo. You should probably check out the docs for outputs.conf

regards,

Kristian

0 Karma

kristian_kolb
Ultra Champion

just edit the outputs.conf file on the forwarder. I don't think this is automatically added/changed by starting/stopping the forwarder. Check the documentation for outputs.conf to see valid configuration options.

/k

0 Karma

keshab
Path Finder

splunk start/restart automatically adds those entry. It's not my manual entry. where can I configure so that start/restart will not add those entry??

0 Karma

keshab
Path Finder

Here is my outputs.conf file

[tcpout]
autoLBFrequency = 30

autoLBUseDNS = false

backoffOnFailure = 30

blockOnCloning = true

blockOnQueueFull = true

connectionTimeout = 20

disableBackoffOnFailure = false

dnsResolutionInterval = 300

dropClonedEventsOnQueueFull = -1

dropEventsOnQueueFull = -1

heartbeatFrequency = 30

indexAndForward = false

maxConnectionsPerIndexer = 2

maxFailuresPerInterval = 2

maxPersistentQueueSizeInMegs = 1024

persistentQueuePath = /usr/local/splunkforwarder/var/run/splunk/persistent_tcp_queue

readTimeout = 300

secsInFailureInterval = 1

sendCookedData = true

splunktcpVersion = --splunk-cooked-mode-v2--

sslPassword = $1$AVW9Xuv9d+0P

useACK = false

usePersistentQueue = false

writeTimeout = 300

0 Karma

MHibbin
Influencer

to ask the obvious have you tried running

$SPLUNK_HOME/bin/splunk btool check --debug

It can actually be quite helpful.

Can you add the outputs.conf file on here?

0 Karma

Kate_Lawrence-G
Contributor

can you post a copy of the outputs.conf?

0 Karma

Drainy
Champion

Just glancing over a few of the lines is it possible there are some hidden characters in there?
I've had experiences where there are characters hidden out of sight which affect it but Splunk still detects them so it causes some corruption of its interpretation of it.

Perhaps try deleting those lines and typing them back in again to see if it makes any difference?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...