I have installed a universal forwarder on a Linux machine, and I configured it as a deployment client to phone a Splunk server at 192.168.1.28:8089. Unfortunately, it never does so.
My deploymentclient.conf is
[deployment-client]
disabled = false
[target-broker:deploymentServer]
targetUri = 192.168.1.28:8089
And I checked on the Client side with:
`splunk display deploy-client`
It outputs Deployment Client is enabled.
However, when I took a look at the splunkd.log, searching for DC(for Deployment Client), I saw lines:
Creating a DeploymentClient instance
unable to resolve my hostname. DeploymentClient is disabled.
....
I think this is the problem, but I cannot solve it. I don't know where the "hostname" thing is, so I don't know how to modify it.
Anyone please help me out! Cheers.
↧