All Apps and Add-ons

Data not forwarded to Indexer without a local index

mnaim
Explorer

I'm currently sending REST API Modular Input data to a Heavy Forwarder, which is supposed to forward the data to the Indexer. Data is forwarded to the Indexer only when I index it on the Heavy Forwarder first. I don't want to index on the forwarder. I just want the data to get forwarded to the Indexer.

Any idea what could be the issue?

Thank you,

0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

While you can create inputs on the inputs.conf or any index you want.
You cannot create an input using CLI/REST without the index destination being defined locally (It is because of a test check that is not relevant to the forwarders.).

This is fixed in splunk 6.*
Otherwise for splunk 5 or 4, the workaround is to use the configuration file, or define the index first (event if events are forwarded not indexed locally) see http://answers.splunk.com//answers/104473/forwarding-events-to-custom-index-on-cluster-peers

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee

While you can create inputs on the inputs.conf or any index you want.
You cannot create an input using CLI/REST without the index destination being defined locally (It is because of a test check that is not relevant to the forwarders.).

This is fixed in splunk 6.*
Otherwise for splunk 5 or 4, the workaround is to use the configuration file, or define the index first (event if events are forwarded not indexed locally) see http://answers.splunk.com//answers/104473/forwarding-events-to-custom-index-on-cluster-peers

0 Karma

mnaim
Explorer

Thank you!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...