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

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...