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, an upvote 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, an upvote would be appreciated.

View solution in original post

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
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!