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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...