Hi All,
Basically the data (WinEventLogs) flow is UF -> HF -> indexer Group 1/ Indexer Group 2.
All the data will go to Indexer Group 1, while subset/filtered data will go to Indexer Group 2 and to another index.
I have managed to configure the HF to send the data to multiple indexer groups but I can't seem to change the index of the events for data that go to Indexer Group 2.
Any advice?
Additionally if I only want to change the index of events coming from a specific HF would that be possible?
Heavy Forwarder Configuration:
outputs.conf
[tcpout] [tcpout:group1] [tcpout:group2] |
props.conf
[source::WinEventLog:Security] TRANSFORMS-routing =routeGroup1, routeGroup2 |
transforms.conf
[routeGroup1] [routeGroup2] |
Indexer Configurations:
props.conf
[source::WinEventLog:Security] TRANSFORMS-changeIndex = changeIndex |
transforms.conf
[changeWinIndex] REGEX = . DEST_KEY = _MetaData:Index FORMAT = newIndexName |
@keithyap, since you are using HF between UF and Indexers changing the index name will happen on HF.
You must put all transforms into HF like below. And also be careful, there is a typo on the transforms name on props.
HF
props.conf
[source::WinEventLog:Security]
TRANSFORMS-changeIndex = changeWinIndex
TRANSFORMS-routing =routeGroup1, routeGroup2
transforms.conf
[routeGroup1]
REGEX = .
DEST_KEY = _TCP_ROUTING
FORMAT = group1
[routeGroup2]
REGEX = Filter
DEST_KEY = _TCP_ROUTING
FORMAT = group1, group2
[changeWinIndex]
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = newIndexName
Since you are changing the index on HF, your specific HF question will be also resolved.
If this reply helps you an upvote is appreciated.
You are right, but I cannot think of a way to change the index for only one output.
@keithyap, since you are using HF between UF and Indexers changing the index name will happen on HF.
You must put all transforms into HF like below. And also be careful, there is a typo on the transforms name on props.
HF
props.conf
[source::WinEventLog:Security]
TRANSFORMS-changeIndex = changeWinIndex
TRANSFORMS-routing =routeGroup1, routeGroup2
transforms.conf
[routeGroup1]
REGEX = .
DEST_KEY = _TCP_ROUTING
FORMAT = group1
[routeGroup2]
REGEX = Filter
DEST_KEY = _TCP_ROUTING
FORMAT = group1, group2
[changeWinIndex]
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = newIndexName
Since you are changing the index on HF, your specific HF question will be also resolved.
If this reply helps you an upvote is appreciated.
@scelikok Thanks for the help.
wouldn't the configurations for changing the index do so for both indexer groups?