Getting Data In

Multiple forwarders on single WS don't work in v5?

msarro
Builder

Hey everyone, I am running into some issues right now. I have a dedicated forwarding machine which has 5 instances of the universal forwarder (our tech support rep from splunk stated that the individual forwarders are limited on their throughput, and to handle the amount of data we would have to split it out to several different processes). This was set up in v4 using the method shown here: http://wiki.splunk.com/Community:Run_multiple_Splunks_on_one_machine

I backed up everything in the /opt directory, removed everything in that directory, and installed the new RPM. I created additional 4 copies in the opt directory (/opt/splunkforwarder, /opt/splunkforwarder2.../opt/splunkforwarder5). I copied back in the custom configurations (everything in /opt/splunkforwarder*N*/etc/system/local) to each instance's ~/etc/system/local directory. I also re-installed and reconfigured the startup scripts in /etc/init.d so that there are definitions for splunk through splunk5, each pointing towards a different instance of splunk, and each creating a separate lockfile. With version 4, this had been enough for it to work.

I can open the first instance (/opt/splunkforwarder) but when I try opening /opt/splunkforwarder2 through 5 it tells me that it is already running (using both the direct command path:/opt/splunkforwarder*N*/bin/splunk start, and also when using the /etc/init.d command). When I attempt to check the log /opt/splunkforwarder*n*/var/log/splunk/splunkd.log, the server reports that the file doesn't exist for splunkforwarder2-5.

Any ideas on how to get this back up and running?

0 Karma

msarro
Builder

Correct - we have 11 indexers currently. 🙂

0 Karma

sowings
Splunk Employee
Splunk Employee

Note that the universal forwarder should be able to output approx. 12M/s. Typically, we see environments where multiple indexers are required before multiple forwarders are....

In any event, glad to hear you got it working.

0 Karma

msarro
Builder

Resolved - had to use the .tgz install vs the rpm install. Seems to be working correctly now. Thanks everyon!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...