Hi Community,Hope you all are doing well.From windows if you are collecting logs using wincollect a large number of the events have a sentence or two about the event itself at the end of the event. unnecessary and repetitive information and same message is always used for the same "EventCode" and Sometimes the extra text is quite long.
Is there any "feature" in wincollect with which we can turn off or stripping this extra information.
for example, every log with event id code 4624 contains below mentioned text that will be part of payload irrelevant of logon type triggered in the log:
"This event is generated when a logon session is created. It is generated on the computer that was accessed. The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe. The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network). The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on. The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases. The impersonation level field indicates the extent to which a process in the logon session can impersonate. The authentication information fields provide detailed information about this specific logon request. - Logon GUID is a unique identifier that can be used to correlate this event with a KDC event. - Transited services indicate which intermediate services have participated in this logon request. - Package name indicates which sub-protocol was used among the NTLM protocols. - Key length indicates the length of the generated session key. This will be 0 if no session key was requested."I have raise a case with IBM but, though it would be great idea to open a discussion here on this portal as well.Regards,Rahul D
gsub => [
"msg", "\n", " ",
"msg", "\t", " "
host => "hostname.domainname.com"
port => 514
codec => "json_lines"