Skip to content

Commit 71d2014

Browse files
committed
update windows-events filter
1 parent d56444b commit 71d2014

File tree

1 file changed

+72
-8
lines changed

1 file changed

+72
-8
lines changed

filters/windows/windows-events.yml

Lines changed: 72 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,19 +296,14 @@ pipeline:
296296

297297
- rename:
298298
from:
299-
- log.log.level
299+
- log.level
300300
to: log.severityLabel
301301

302302
- rename:
303303
from:
304304
- log.api
305305
to: log.api
306306

307-
- rename:
308-
from:
309-
- log.channel
310-
to: log.channel
311-
312307
- rename:
313308
from:
314309
- log.ecs.version
@@ -334,6 +329,56 @@ pipeline:
334329
- log.data.ObjectType
335330
to: log.eventDataObjectType
336331

332+
- rename:
333+
from:
334+
- log.data.OperationType
335+
to: log.eventDataOperationType
336+
337+
- rename:
338+
from:
339+
- log.data.TicketEncryptionType
340+
to: log.eventDataTicketEncryptionType
341+
342+
- rename:
343+
from:
344+
- log.data.PreAuthType
345+
to: log.eventDataPreAuthType
346+
347+
- rename:
348+
from:
349+
- log.data.TicketOptions
350+
to: log.eventDataTicketOptions
351+
352+
- rename:
353+
from:
354+
- log.data.ProcessPath
355+
to: log.eventDataProcessPath
356+
357+
- rename:
358+
from:
359+
- log.data.ImagePath
360+
to: log.eventDataImagePath
361+
362+
- rename:
363+
from:
364+
- log.data.ServiceType
365+
to: log.eventDataServiceType
366+
367+
- rename:
368+
from:
369+
- log.data.StartType
370+
to: log.eventDataStartType
371+
372+
- rename:
373+
from:
374+
- log.data.FileName
375+
to: log.eventDataFileName
376+
377+
- rename:
378+
from:
379+
- log.data.LinkName
380+
to: log.eventDataLinkName
381+
337382
- rename:
338383
from:
339384
- log.data.AccessList
@@ -374,6 +419,26 @@ pipeline:
374419
- log.data.TransactionId
375420
to: log.eventDataTransactionId
376421

422+
- rename:
423+
from:
424+
- log.data.ScriptBlockText
425+
to: log.eventDataScriptBlockText
426+
427+
- rename:
428+
from:
429+
- log.data.MessageNumber
430+
to: log.eventDataMessageNumber
431+
432+
- rename:
433+
from:
434+
- log.data.MessageTotal
435+
to: log.eventDataMessageTotal
436+
437+
- rename:
438+
from:
439+
- log.data.ScriptBlockId
440+
to: log.eventDataScriptBlockId
441+
377442
- cast:
378443
to: "int"
379444
fields:
@@ -403,7 +468,7 @@ pipeline:
403468

404469
# Drop unnecessary events
405470
- drop:
406-
where: "oneOf('log.eventCode', [0, 1, 43, 44, 1040, 1042, 1105, 1500, 1501, 4608, 4609, 4614, 4615, 4616, 4626, 4627, 4650, 4651, 4652, 4653, 4654, 4655, 4659, 4665, 4666, 4667, 4668, 4688, 4689, 4696, 4709, 4710, 4711, 4712, 4778, 4779, 4826, 4864, 4866, 4898, 4899, 4902, 4904, 4905, 4906, 4909, 4910, 4911, 4928, 4929, 4930, 4931, 4932, 4933, 4934, 4935, 4936, 4937, 4944, 4945, 4951, 4952, 4953, 4957, 4958, 4965, 4979, 4980, 4981, 4982, 4983, 4984, 4985, 5024, 5027, 5028, 5029, 5033, 5034, 5035, 5038, 5039, 5051, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5064, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5120, 5121, 5122, 5123, 5125, 5126, 5127, 5137, 5138, 5139, 5141, 5145, 5168, 5169, 5170, 5376, 5377, 5378, 5379, 5380, 5381, 5440, 5441, 5442, 5443, 5444, 5446, 5450, 5451, 5452, 5456, 5457, 5458, 5459, 5460, 5461, 5462, 5463, 5464, 5465, 5466, 5467, 5468, 5471, 5472, 5473, 5474, 5477, 5478, 5712, 5888, 5889, 5890, 6145, 6274, 6275, 6281, 6400, 6401, 6402, 6403, 6405, 6406, 6407, 6408, 6409, 6410, 6417, 6418, 6423, 6424, 7040, 8191, 10000, 10010, 16384, 16394, 24578, 24579, 24581, 24582, 24583, 24584, 24586, 24588, 24592, 24593, 24594, 24595, 24621])"
471+
where: "oneOf('log.eventCode', [0, 1, 43, 44, 1040, 1042, 1105, 1500, 1501, 4608, 4609, 4614, 4615, 4616, 4626, 4627, 4650, 4651, 4652, 4653, 4654, 4655, 4659, 4665, 4666, 4667, 4668, 4689, 4696, 4709, 4710, 4711, 4712, 4778, 4779, 4826, 4864, 4866, 4898, 4899, 4902, 4904, 4905, 4906, 4909, 4910, 4911, 4928, 4929, 4930, 4931, 4932, 4933, 4934, 4935, 4936, 4937, 4944, 4945, 4951, 4952, 4953, 4957, 4958, 4965, 4979, 4980, 4981, 4982, 4983, 4984, 4985, 5024, 5027, 5028, 5029, 5033, 5034, 5035, 5038, 5039, 5051, 5056, 5057, 5058, 5059, 5060, 5061, 5062, 5063, 5064, 5065, 5066, 5067, 5068, 5069, 5070, 5071, 5120, 5121, 5122, 5123, 5125, 5126, 5127, 5137, 5138, 5139, 5141, 5145, 5168, 5169, 5170, 5376, 5377, 5378, 5379, 5380, 5381, 5440, 5441, 5442, 5443, 5444, 5446, 5450, 5451, 5452, 5456, 5457, 5458, 5459, 5460, 5461, 5462, 5463, 5464, 5465, 5466, 5467, 5468, 5471, 5472, 5473, 5474, 5477, 5478, 5712, 5888, 5889, 5890, 6145, 6274, 6275, 6281, 6400, 6401, 6402, 6403, 6405, 6406, 6407, 6408, 6409, 6410, 6417, 6418, 6423, 6424, 7040, 8191, 10000, 10010, 16384, 16394, 24578, 24579, 24581, 24582, 24583, 24584, 24586, 24588, 24592, 24593, 24594, 24595, 24621])"
407472

408473
# Decoding event code
409474
- add:
@@ -2949,7 +3014,6 @@ pipeline:
29493014
- log.agent
29503015
- log.host
29513016
- log.computer_name
2952-
- log.data
29533017
- log.process
29543018
- log.metadata
29553019
- log.event

0 commit comments

Comments
 (0)