Splunk Search

How can we distribute files from HDFS to be indexed evenly across our four indexers?

ddrillic
Ultra Champion

We have an HDFS source with sqoop files that have this naming pattern - 000000_0 to 003064_0 and each file is at the same size. We would like, in each of the four indexers, to specify in the Data inputs > Files & directories section via the Whitelist or the Blacklist, that we need one quarter of these files to process.

Any ideas?

alt text

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

If you are using a forwarder, are you looking for this document? How to setup load balancing with a forwarder:
http://docs.splunk.com/Documentation/Splunk/6.5.1/Forwarding/Setuploadbalancingd#How_load_balancing_...

Load-balancing will ensure that data is distributed among your indexers.

0 Karma

ddrillic
Ultra Champion

To begin with, we want to statically distribute the HDFS data into the four indexers in a uniform way. Since the sqoop files are called 000000_0 to 003064_0, then we can assign, for the first indexer for example, something like 000000_0 to 000766_0 which is 003064 / 4. Meaning, assigning this range in the Whitelist.

Maybe you can suggest a more creative solution...

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...