Deployment Architecture

Splunk Universal forwarder

donypie
New Member

Hi all,

I would like for security reason use the Splunk Universal forwarder on RHEL servers. But, I have to send logs to two Splunk indexers. Can you please tell me if it is possible with Splunk Universal forwarder ? It is well possible with standard syslog.

Do you usually use Splunk Universal forwarder or standard syslog to forward logs to Splunk indexers ?

Thanks.

Tags (1)
0 Karma

todd_miller
Communicator

This should be possible and I'll give you two scenarios (this is done in your outputs.conf file):

Load balancing an indexer pair:

    [tcpout]
    defaultGroup = primary_indexers

    forceTimebasedAutoLB = true

    [tcpout:primary_indexers]
    server = server_1_ip_or_hostname:9997, server_2_ip_or_hostname:9997

Two separate destinations:

    [tcpout]
    defaultGroup = primary_indexer,secondary_indexer


    [tcpout:primary_indexer]
    server = server_1_ip_or_hostname:9997

    [tcpout:secondary_indexer]
    server = server_2_ip_or_hostname:9997

If you use option two, you're going to essentially use double your indexing license because you're sending a copy of the data to another separate server.

If you want to send to syslog, take a look at the following link to help you with that:

link text

donypie
New Member

Thanks Todd

0 Karma

todd_miller
Communicator

Sure thing!

0 Karma

todd_miller
Communicator
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!

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...

Splunk Technical Support Is Moving to Cisco Support Tools

Introduction Splunk technical support is transitioning to Cisco’s support environment. This change brings ...