Getting Data In

how do i segregate data from one splunk forwarder in a seperate index?

Alan_Bradley
Path Finder

I have one splunk forwarder I need to segregate from other indexes. I have created its own index and I need to know how to get the data from the splunk forwarder into it. I only have one port open for lightweight forwarding.

Is this possible through props.conf and transforms.conf or do I need to do something different

1 Solution

gkanapathy
Splunk Employee
Splunk Employee

Just set

 index = specialindex

either under each input on that forwarder in inputs.conf, or set it at the top of the inputs.conf file and it will be defaulted for all inputs unless otherwise specified (though note that some UI-configured inputs will set index = default)

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

Just set

 index = specialindex

either under each input on that forwarder in inputs.conf, or set it at the top of the inputs.conf file and it will be defaulted for all inputs unless otherwise specified (though note that some UI-configured inputs will set index = default)

jrodman
Splunk Employee
Splunk Employee

It's possible to do with a transform, but the input method gkanapthy is suggesting is easier and simpler.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...