Hi, I have a set up where an UF is sending data into HF. From HF, the data is supposedly to be sent to two different indexers with different indexes. For example, indexer01 receives the data with indexA while indexer02 receives the same data with indexB.
This is what I have tried so far, but not working. However the data flow is correct and sending the same data to both indexers with the predefined indexA from UF.
inputs.conf (UF)
[monitor:///home/name/samplelogs] disabled = false index = indexA sourcetype = sourcetypeA
inputs.conf (HF)
[splunktcp://9997]
outputs.conf (HF)
[tcpout] defaultGroup = indexer01, indexer02 [tcpout:indexer01] server=indexer01_IP [tcpout:indexer02] server=indexer02_IP
inputs.conf (indexer02)
[splunktcp://9997] index=indexA queue=parsingQueue
props.conf (indexer02)
[sourcetypeA] (or) [host::UF_hostname] (or) [source::/home/name/samplelogs]
TRANSFORMS-index = overrideindex
transforms.conf (indexer02)
[overrideindex]
DEST_KEY =_MetaData:Index
REGEX = .
FORMAT = indexB
Any help would be appreciated! Thanks!
... View more