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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...