I want to keep specific events which contains few strings in event but around 30 OR statement I have to write in regex to keep these events like below my transforms.conf-
[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue
[setparsing]
REGEX = (\|abcType=|\|abcId=|KType=Sys,\sDate=|abc\sxyz.exe\sZzzz|abc|xyz|pqrs|\JType=test,\sStats=ok)
DEST_KEY = queue
FORMAT = indexQueue
below are few strings i am checking in regex-
|abcType=
|abcId=
KType=Sys, Date=
abc xyz.exe Zzzz
abc
xyz
pqrs
JType=test, Stats=ok
These are 30 strings which I am checking in event so I want to know how feasible it will be or is there any better option?
... View more