Getting Data In

Which forwarder to use?

rahiparikh
Explorer

Hi,

I wish to tag basic information in source data before I send it to Indexer. I wish to tag the host, sourcetype and such similar basic information. What forwarder should I use?

( I tried to read the docs but it got me confused! 😞 )

Thanks!

0 Karma
1 Solution

IT_Bullgod
Splunk Employee
Splunk Employee

Based on the current version of Splunk, there are 3 types of Forwarder configuration:

The universal forwarder is a streamlined, dedicated version of Splunk that contains only the essential components needed to forward data to receivers.

A heavy forwarder is a full Splunk instance, with some features disabled to achieve a smaller footprint.

A light forwarder is also a full Splunk instance, with most features disabled to achieve as small a footprint as possible.

The lightweight forwarder type is typically used to support previous versions of Splunk, and likely should not be needed in new installations. Now you simply need to decide if you need a heavy or Universal forwarder, and that decision usually comes down to whether or not you need to filter or route data from the forwarder.

In your example above, tagging source and hostname are actually part of the Splunk metadata - these elements are typically attached to your event data by default. In this case, you can use the Universal Forwarder.

If you plan to route event data to multiple hosts, or if you want to limit (filter) the data from the Forwarder to the indexer, then you'll need a heavy forwarder.

View solution in original post

IT_Bullgod
Splunk Employee
Splunk Employee

Based on the current version of Splunk, there are 3 types of Forwarder configuration:

The universal forwarder is a streamlined, dedicated version of Splunk that contains only the essential components needed to forward data to receivers.

A heavy forwarder is a full Splunk instance, with some features disabled to achieve a smaller footprint.

A light forwarder is also a full Splunk instance, with most features disabled to achieve as small a footprint as possible.

The lightweight forwarder type is typically used to support previous versions of Splunk, and likely should not be needed in new installations. Now you simply need to decide if you need a heavy or Universal forwarder, and that decision usually comes down to whether or not you need to filter or route data from the forwarder.

In your example above, tagging source and hostname are actually part of the Splunk metadata - these elements are typically attached to your event data by default. In this case, you can use the Universal Forwarder.

If you plan to route event data to multiple hosts, or if you want to limit (filter) the data from the Forwarder to the indexer, then you'll need a heavy forwarder.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...