I have a typical scenario that could be resolved with a UF on syslog-ng, however that is a future resolution.
At the moment, I have 2 data sources (A and B) coming in on a common port (e.g. TCP 666).
Each data source needs its own sourcetype name and reside in a different index.
So far, I have been trying to follow the docs and I created the following in .../opt/splunk/etc/system/local
Inputs.conf
[TCP://666] <------------------- this is the original data source stanza
Disabled = 0
index = indx_A
sourcetype = st_A
Props.conf
[sourcetype_B] <--------------------- I added this to accomodate data source B
TRANSFORMS-routing = sourcetype_B_routing
Transforms.conf
[sourcetype_B_routing] <--------------------- I added this to accomodate data source B
REGEX=|String_between_pipes|
DEST_KEY=_TCP_ROUTING
FORMAT=Everything, Subsidiary
Outputs.conf
I used two existing stanzas to direct the data to two different locations.
[tcpout:Everything] <----- splunk destination
disabled = false
server = x.x.x.x, x.x.x.x <---------------------I have multiple destinations
autoLB = true
[tcpout:Subsidiary] <----------- 3rd party destination, data to be sent raw
disabled = false
sendCookedData=false
server = x.x.x.x:port
I need some guidance on connecting the inputs to the props>tranforms>outputs.
How do I edit the inputs.conf stanza (or other location) to define index_B and sourcetype_B, and tie the inputs.conf to the other .confs?
Thank you
... View more