Deployment Architecture

Can I set the clientName in deploymentclient.conf through the CLI?

chris94089
Path Finder

Greetings,

Can I set the clientName in deploymentclient.conf through the CLI?

This has been asked before several times.  

in 2012 https://community.splunk.com/t5/Deployment-Architecture/Set-deployment-client-name-in-CLI/td-p/33613

2016 https://community.splunk.com/t5/Getting-Data-In/Can-I-set-the-clientName-in-deploymentclient-conf-th...

I don't see anything jumping out at me here, but I could be wrong. https://docs.splunk.com/Documentation/Forwarder/8.0.5/Forwarder/SupportedCLIcommands

So I thought I would ask again to confirm.

The use case for it would be remote customers looking to onboard their universal forwarder on their machine to our deployment server, pretty straightforward.  Isn't asking them to manually alter their .conf file bad practice?  

Thanks

Labels (2)
Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust
IME, the default settings for client name have been sufficient and is what admins have used in their server classes.
You can, however, use clientName in deploymentclient.conf to be able to filter on other strings.
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust
The deployment client name defaults to the host name, which is sufficient in most cases. I don't know of and can't find any CLI command to change that value. IMO, asking a customer to edit a config file is not much worse than asking them to run a command.
---
If this reply helps you, Karma would be appreciated.

chris94089
Path Finder

Host name would be helpful but I did not come across that here https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Configuredeploymentclients

in the Set a Client Name section it says the default Client Name is a GUID and some of the screenshots go on to show GUID's in the deployment server UI.  

Looking at the UI examples again, I do see the hostname is visible.  Is this what admin's end up using to identify their UF's?

Thanks for the reply.

0 Karma

richgalloway
SplunkTrust
SplunkTrust
IME, the default settings for client name have been sufficient and is what admins have used in their server classes.
You can, however, use clientName in deploymentclient.conf to be able to filter on other strings.
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...