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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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