Getting Data In

Sending forwarder events to a specific index

tedder
Communicator

Okay, I'm not exactly a new user to Splunk, but I'm new to using a forwarder. In this case, it's a "heavy forwarder". I set the remote hostname as my main Splunk receiver, and configured the receiver to receive on a given port. The problem is that the events from the remote forwarder go into the "main" index. How do I specify an index the forwarded data should go to?

1 Solution

ftk
Motivator

On your forwarder, add index=blah in to your stanza in inputs.conf:

[monitor:///var/log/foo]
sourcetype=helloworld
index=blah

View solution in original post

ftk
Motivator

On your forwarder, add index=blah in to your stanza in inputs.conf:

[monitor:///var/log/foo]
sourcetype=helloworld
index=blah
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...