Getting Data In

Can I configure my deployment server to send deployment related logs to another splunk for searching?

juniormint
Communicator

I have a dedicated machine for my splunk forwarder configuration deployment server. I would like to send the deployment related logs to another Splunk instance which serves as my indexer/search node.

Any idea how to do this?

Tags (2)
0 Karma
1 Solution

lguinn2
Legend

If you set up your deployment server as a forwarder, by adding an outputs.conf file, you can send its Splunk logs to your indexer. Splunk automatically monitors its internal logs, so your deployment-related logs should be sent automatically. The following example assumes that the indexer is named yourhost.yourcompany.com and that it is listening for input on port 9997.

outputs.conf

[tcpout:group1]
server=yourhost.yourcompany.com:9997

If this doesn't work like you expect, make sure that your deployment server has an inputs.conf that contains something like this:

[monitor://$SPLUNK_HOME/var/log/splunk]
_TCP_ROUTING = *
index = _internal

Here is a good item in the documentation: What Splunk logs about itself

View solution in original post

lguinn2
Legend

If you set up your deployment server as a forwarder, by adding an outputs.conf file, you can send its Splunk logs to your indexer. Splunk automatically monitors its internal logs, so your deployment-related logs should be sent automatically. The following example assumes that the indexer is named yourhost.yourcompany.com and that it is listening for input on port 9997.

outputs.conf

[tcpout:group1]
server=yourhost.yourcompany.com:9997

If this doesn't work like you expect, make sure that your deployment server has an inputs.conf that contains something like this:

[monitor://$SPLUNK_HOME/var/log/splunk]
_TCP_ROUTING = *
index = _internal

Here is a good item in the documentation: What Splunk logs about itself

Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...