Getting Data In

Is it possible to use one Deployment Server against two separate indexers?

Jarohnimo
Builder

Hello all,

Is it possible to use one deployment Server against two separate indexers or would I need to use two Deployment servers to achieve this?

I need to pull various logs from 100 Servers.o Could the deployment server send out the apps in a way where the logs would go to two separate indexers? I know when we initially install the forwarders on the nodes we want to receive data from, we have to specify a Deployment server + Indexer.

This is how we would like to break it up

Indexer 1) Perfmon, SQL, Event Logs
indexer 2) IIS

Please let me know if this is possible, if so how? I'd imagine it's syntax added to a .conf file somewhere. Thank you!

0 Karma

muralikoppula
Communicator

You can use single deployment server against two separate indexers and universal forwarders.
You need to point your apps/add-on to indexers and universal forwarders under serverclass.conf($SPLUNK_HOME/etc/system/local/serverclass.conf).

Try something like this:

#---------------Indexer 1------------------   
[serverClass:indexer1]
filterType = whitelist
restartSplunkd = 1
repositoryLocation = /opt/splunk/etc/deployment-apps
whitelist.0 = splunk-idx1*

[serverClass:indexer1:app:perfmon]
[serverClass:indexer1:app:SQL]
[serverClass:indexer1:app:event_logs]


#---------------Indexer 2--------------------
[serverClass:indexer2]
filterType = whitelist
restartSplunkd = 1
repositoryLocation = /opt/splunk/etc/deployment-apps
whitelist.0 = splunk-idx2*

[serverClass:indexer2:app:IIS]
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...