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

Meet Splunk Observability Studio: AI-Assisted OpenTelemetry Instrumentation Without ...

Instrumentation is usually the last step or even an afterthought when building out a project. The feature ...

Federated Search for Cisco Security and Analytics Logging (SAL) is now GA on Splunk ...

Federated Search for Cisco  Security Analytics and Logging (SAL) is now generally available as part of the ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Join us for a demo-driven look at how ...