Getting Data In

How does Splunk connect to the Universal forwarders — using IP or HostNames?

arrangineni
Path Finder

Can anyone clarify if Splunk Deployment server and Indexer connects to Universal forwarder using hostname or IP address. How can we find that?

0 Karma
1 Solution

sbattista09
Contributor

the UF will reach out to the deployment server with deploymentclient.conf
https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Deploymentclientconf

[deployment-client]
phoneHomeIntervalInSecs = 500
[target-broker:deploymentServer]
# Change the targetUri
targetUri = here it can be IP OR FQDN over what ever port you have set the default it 8089 i think.

The UF will send logs to indexers with outputs.conf
https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Outputsconf

[tcpout]
defaultGroup = splunkgroup

[tcpout:splunkgroup]
server= here it can be IP OR FQDN over what ever port you have set the default is 9997 indexer1.example.com:9997, indexer2.example.com:99978, indexer3.example.com:9997
autoLB = true
autoLBFrequency = 7
forceTimebasedAutoLB = true

View solution in original post

sbattista09
Contributor

the UF will reach out to the deployment server with deploymentclient.conf
https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Deploymentclientconf

[deployment-client]
phoneHomeIntervalInSecs = 500
[target-broker:deploymentServer]
# Change the targetUri
targetUri = here it can be IP OR FQDN over what ever port you have set the default it 8089 i think.

The UF will send logs to indexers with outputs.conf
https://docs.splunk.com/Documentation/Splunk/7.2.5/Admin/Outputsconf

[tcpout]
defaultGroup = splunkgroup

[tcpout:splunkgroup]
server= here it can be IP OR FQDN over what ever port you have set the default is 9997 indexer1.example.com:9997, indexer2.example.com:99978, indexer3.example.com:9997
autoLB = true
autoLBFrequency = 7
forceTimebasedAutoLB = true

arrangineni
Path Finder

Thanks for the clarification.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Value Insights: Now Generally Available in the CMC

Organizations are under pressure to move faster, control cost, expand AI adoption, and prove value with more ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...