All Apps and Add-ons

Host shows as $decideOnStartup in website monitoring 2.9

afx
Contributor

Hi,
I just started to use 2.9 and wanted to check out the new header/body feature.
While doing so I discovered that host for all entries is set to $decideOnStartup while looking at the web monitoring index.
Am I doing somthing wrong?

thx
afx

0 Karma
1 Solution

afx
Contributor

Started to set up a website via the GUI and advanced options instead of the inputs.conf file of the app.
Found a host setting there that said $decideOnStartup.

So one explicitly needs to set up the host, it is not taken from the monitored URL.

cheers
afx

View solution in original post

0 Karma

afx
Contributor

Started to set up a website via the GUI and advanced options instead of the inputs.conf file of the app.
Found a host setting there that said $decideOnStartup.

So one explicitly needs to set up the host, it is not taken from the monitored URL.

cheers
afx

0 Karma

afx
Contributor

Well,

splunk show default-hostname
splunk show servername

both report the correct hostname....

And actually, I would think it makes more sense to set the host of the target URL than the querying host here.

thx
afx

0 Karma

nickhills
Ultra Champion

That sounds like the splunk server running the website monitor has an incomplete hostname.
Check in server.conf and inputs.conf on your server and make sure they are both set to what you expect.

The host(server)name in server.conf and the host in inputs.conf are automatically populated the first time splunk starts, but if you have cloned/restored or otherwise replaced the config files this can get out of sync.

You can either fix the names by hand in those files and restart the server, or use the cli commands
./splunk set servername yourForwarderName

./splunk set default-hostname yourForwarderName

https://docs.splunk.com/Documentation/Splunk/8.0.1/Admin/Changedefaultvalues

If my comment helps, please give it a thumbs up!
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...