Getting Data In

Sending data to two splunk cloud instances from Universal Forwarder

dloszews
Explorer

We just got a new splunk cloud instance/stack (we now have a total of 2 splunk cloud instances) and attempting to send data to it from our Universal Forwarder.   Currently the universal forwarder is only sending data to one of those instances (the original).  I have installed the universal forwarder credentials from the new instance on the universal forwarder and can see both cloud apps in /opt/splunkforwarder/apps directory but we are only seeing forwards from the original still when I do a 'splunk list forward-server' command.  

I have checked and made sure that the port is open on the new instance, I'm also able to telnet to the new instance from the universal forwarder.   Is there anything else I need to do to send to both instances?   Eventually we won't have all the data going to both instances as we'll be migrating some of the data over to the new one but at the moment we want both to be identical.  

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

The Universal Forwarder apps provided by Splunk Cloud assume all data goes to a single SC instance.  If you need your data to go to more than one instance then you must modify outputs.conf to make it happen.  Having two outputs.conf files is not enough because Splunk merges the settings in all files.  Use btool to verify this.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

The Universal Forwarder apps provided by Splunk Cloud assume all data goes to a single SC instance.  If you need your data to go to more than one instance then you must modify outputs.conf to make it happen.  Having two outputs.conf files is not enough because Splunk merges the settings in all files.  Use btool to verify this.

---
If this reply helps you, Karma would be appreciated.
0 Karma

dloszews
Explorer

Thank you, I figured this out late last night as well.  Too bad they don't have this in the documentation, would have saved me a lot of time. 

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...