All Apps and Add-ons

Splunk Add-on for Microsoft Azure: Is there a way to rename the host name?

jackgordon
New Member

When polling the server the host is reported as "localhost". Is there anyway to rename this? Perhaps with a lookup or some other method?

0 Karma

adamsaul
Communicator
::$SPLUNKHOME/etc/system/local/inputs.conf
[default]
host = <hostname>

::$SPLUNKHOME/etc/system/local/server.conf
[general]
serverName = <hostname>
pass4SymmKey = $1$foobar

Check the above files and make sure they have the hostname you would like. If you are running on a NIX platform, also check the /etc/hostname file.

0 Karma

jackgordon
New Member

This is in reference to the remote Azure server itself, rather than the Splunk server.

0 Karma

adamsaul
Communicator

Jack,

Sorry for the misunderstanding.

When you say remote Azure server, you mean the instance in which you have deployed the Azure Add-On?
If you are talking about the Add-On, then the files I mentioned above are configuration files you would find on the Splunk Universal Forwarder

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...