Getting Data In

What is "hostname as provided by the client" in serverclass.conf?

bkeif
Path Finder

In the serverclass.conf docs it says that the "hostname of the client, as provided by the client" can be used in the white/black lists. What exactly does this mean? Does the uf grab the output of the hostname command as if it were run that on the host, or is it simply a value in a conf file like inputs.conf (host=) or server.conf (serverName=)?

I know that clientName comes from deploymentclient.conf and the other options listed in the doc are self explanatory but Its unclear to me what the line "as provided by the client" really means

0 Karma

richgalloway
SplunkTrust
SplunkTrust

"As provided by the client" means the client name is not defined on the deployment server. IOW, no change on the DS will affect the client's name. The easiest way to see what a client's name is is to look at the Clients tab on the Forwarder Management screen.

---
If this reply helps you, Karma would be appreciated.
0 Karma

bkeif
Path Finder

Ok sure, that makes sense and I realize I can't change it on the DS. But I could change it on the client if I knew where the name comes from on the client. Its not the like the UF magically knows the hostname of the box its running on. It has to pull it from somewhere.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sorry for missing the second part of your questin. It's set by host = foo in inputs.conf. If not specified, the UF does magically know the hostname of the box on which it is running.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...