Getting Data In

Splunk 5.0 Cluster environment. Route data to sourcetype or index

ykys97
Explorer

My splunk inviroment

splunk 5.0 and clustered config whth master node 1EA, header 1EA, peer node 2EA, and LB_forwarder 1EA
(Working Good)

in Forwarder udp 9005 port open and incomming log to
index=main source=udp:9005 , sourcetype=udp:9005

To put into a particular index (index routing) in a cluster environment.

I Already try put it Header and Indexer1,2 ( And then restart cluster index 1,2 )

but Still comes to the main index..


props.conf >>>>>

[host::172.20.99.62] and try [udp:9005]

TRANSFORMS-udp_detail_job = detail_job_index, detail_job_source, detail_job_sourcetype

transforms.conf >>>>>>>
[detail_job_index]
WRITE_META=true
DEST_KEY = _MetaData:Index
REGEX = (^source=detail_job)
FORMAT = detail_job

[detail_job_source]
WRITE_META=true
DEST_KEY = MetaData:Source
REGEX = (^source=detail_job)
FORMAT = source::detail_job

[detail_job_sourcetype]
WRITE_META=true
DEST_KEY = MetaData:Sourcetype
REGEX = (^source=detail_job)
FORMAT = sourcetype::detail_job

0 Karma

ykys97
Explorer

I figured out to solve
.conf file location is Forwarder in my case

props.conf >>>>>

[udp:9005]
TRANSFORMS-udp_detail_job = detail_job_index

transforms.conf >>>>>>>
[detail_job_index]
REGEX = (^source=detail_job)
FORMAT = detail_job

0 Karma
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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...