Getting Data In

How can we standardize the host format across many forwarders?

ddrillic
Ultra Champion

Based on Get hostname of the machine

In our case, the host name ends to be the plain host name such as host111, but there are cases in which the domain name is included, such as host111.domain_name.com.

How can we standardize on 'just' the host name, without the domain?

0 Karma
1 Solution

woodcock
Esteemed Legend

This is controlled (especially on windows forwarders) by settings inside server.conf:
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf

In particular, you need this:

hostnameOption = shortname

View solution in original post

0 Karma

woodcock
Esteemed Legend

This is controlled (especially on windows forwarders) by settings inside server.conf:
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf

In particular, you need this:

hostnameOption = shortname
0 Karma

ddrillic
Ultra Champion

Sounds great woodcock. However, it seems to me the the server.confexists on the forwarder but not on the deployment app on the deployment server. It means that if we introduce 20 new forwarders, we need to go and adjust and bounce the server.conf on 20 servers. Is it right? Is there anything easier to manage?

0 Karma

woodcock
Esteemed Legend

You can build this file into an app and deploy it from the DS.

0 Karma

ddrillic
Ultra Champion

That's great - thank you!!!

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...