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
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...