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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...