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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...