Getting Data In

How to index data with multiple forwarders on the same host?

nealw
New Member

Hello,

I googled around for similar questions but could not find anything, so I'm sorry if this question has already been asked before. If i want to index large amounts of data using multiple forwarders, is there some way where i can configure the various forwarders to act in a distributed fashion? I know of managing pipelines for index parallelization (https://docs.splunk.com/Documentation/Splunk/7.1.2/Indexer/Pipelinesets), but that still does not quite solve the issue.

What do people in general do to solve such a problem? Thank you!

0 Karma
1 Solution

adonio
Ultra Champion
0 Karma

adonio
Ultra Champion

hello there,
very detailed answer by @mmodestino_splunk here:
https://answers.splunk.com/answers/521464/how-to-run-multiple-universal-forwarders-on-a-sing.html

hope it helps

0 Karma

nealw
New Member

Clearly I did not dig around enough. Thank you so much for your help!

0 Karma

ddrillic
Ultra Champion

Right @adonio, so we can install multiple forwarders on the same physical machine which is nice. The major question was -

-- is there some way where i can configure the various forwarders to act in a distributed fashion?

How do we do that - distributed fashion?

0 Karma

adonio
Ultra Champion

@ddrillic, indeed, it was late in the night when answered the question.
can you elaborate on the question? what does "distributed fashion" means?

0 Karma

nealw
New Member

I think, or at least this was what I was trying to get at - more like, in parallel. There are some ways of installing multiple universal forwarders and forwarding data to an intermediate forwarder and filtering out duplicate data, or just assigning the universal forwarders different directories to forward data from. But can we deploy universal forwarders in such a way that they coordinate and work in parallel? More like how multiple pipelines work, for index parallelization.
Thanks!

0 Karma

adonio
Ultra Champion

i hope i understand where you are getting at,
the forwarders are set to do what they being told to do. assuming you have 2 forwarders on a single machine, and these forwarders are monitoring 2 unique directories, forwarder A monitors directory A and forwarder B, monitors directory B. let say, now there is double of the amount of local data being written to directory A and no more data being written to directory B, I am not aware of (and i am 99% sure there isnt) a way forwarder B will "help" forwarder A and share the monitoring load of directory A
@nealw, hope this answers your question

0 Karma

nealw
New Member

Ah, i see. Well, that does answer what I was trying to get at. Thanks a lot!

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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...