All Apps and Add-ons

Why is host=$decideOnStartup for Splunk Stream, but not other events?

dokaas_2
Communicator

I have several Windows servers that the host=$decideOnStartup, but other Windows events correctly provide the Windows host name.  

Any ideas why and how to correct this?

Labels (2)
Tags (3)

Dave_Splunk
Splunk Employee
Splunk Employee

Having only splunk stream show "$decideOnStartup" in the hostname of events, while other inputs correctly reflect the real hostname is a known bug in version 7.3.0 and earlier

 https://docs.splunk.com/Documentation/StreamApp/7.3.0/ReleaseNotes/Knownissues 

Issue ID: STREAM-4641, STREAM-4635

When I installed version 7.4.0 and this problem vanished for my system.

 

 

0 Karma

Recyclops
New Member

I have updated to 7.4 and host still equals $decideOnStartup for all Stream logs.  Are there any input.conf file changes required?

0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @dokaas_2,

Some modular inputs including streamfwd do not respect $decideOnStartup variable. 

I think you deleted $SPLUNK_HOME\etc\system\local\inputs.conf file or delete host definition. Normally inputs gets the %COMPUTERNAME% environment variable to use as host field, but stream app.

As a resolution you should create inputs.conf on the forwarders that runs Stream add-on like below sample;

[default]
host = system_hostname

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

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

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...