Splunk Enterprise

Getting FQDN name for multiple sources types as creating duplicate devices name?

sekhar463
Path Finder

Hai ,

we are getting data with host name as FQDN name for few linux hosts.

how to get hostname so that all events should come with hostname only, let us know where can i update the config.

Thanks 

Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

UF (and splunk in generally) use host name of node. Some times this is a FQDN sometime only host part. It depends how it has set up on OS level. If you are not happy with it you can change it on UF's inputs.conf file as setting it in default stanza. See details here https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/SetadefaulthostforaSplunkserver

If you have several domain where you are collecting events it's usually good habit to have fqdn instead of host part only. You can always drop host part on queries if you don't like those and those are not needed (see e.g. rex mode=sed). Of course FQDN use little bit more license, but still...

r. Ismo

0 Karma

Azeemering
Builder
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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...