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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...