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, an upvote 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, an upvote would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...