Hi,
As far as I understand, SEDCMD is executed before TRANSFORMS.
Is there any way to make it execute after?
I'm overriding some metadata fields based on the content of a event. Current (simplified) working configs:
transforms.conf
[add_host]
REGEX = fetchinghost
FORMAT = host::$1
DEST_KEY = MetaData:Host
props.conf
[default]
TRANSFORMS-addinghost = add_host
Now, I would like to remove (or anonymize if you will) host from the original event, after it's been written to the host field. Current config, where SEDCMD works fine, but where TRANSFORMS does not (as i suppose SEDCMD removes/alters the event before TRANSFORMS' regex gets to it):
props.conf
[default]
TRANSFORMS-addinghosttometadata = add_host
SEDCMD-removinghostfromevent = s/fetchinghost/nothinghere/g
I've played around with setting priority, but with no luck.
Any help or tips would be greatly appreciated.
... View more