Getting Data In

Heavy, or Light?

jamesmcgee
Explorer

I'd like to deploy a light-forwarder to reduce footprint, but I need to send different inputs to a different index on the indexer.

i.e. OS logs, to osindex, DB logs to dbindex, Application logs to appindex.

No parsing or indexing needed locally, but am wondering if this can be achieved with a light-forwarder, or I need a heavy.

I tried to find this in docs, but not much luck.

Thanks in advance

1 Solution

jbsplunk
Splunk Employee
Splunk Employee

You can do this with a lightweight forwarder.

http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F

You'd just need to specify in the input stanza something like

[stanza]
index = index_name

Since the LWF doesn't index anything, it will send to the index specified on the indexer.

If you didn't do this in inputs.conf, you could also use props/transforms in the place where the data is being parsed(indexer).

View solution in original post

jbsplunk
Splunk Employee
Splunk Employee

You can do this with a lightweight forwarder.

http://www.splunk.com/wiki/Where_do_I_configure_my_Splunk_settings%3F

You'd just need to specify in the input stanza something like

[stanza]
index = index_name

Since the LWF doesn't index anything, it will send to the index specified on the indexer.

If you didn't do this in inputs.conf, you could also use props/transforms in the place where the data is being parsed(indexer).

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...