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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...