Skip to content

This pack is targeted for collections of Window events in the Classic or newer XML format. For events in the Classic format, sometimes the Message field contains XML.

License

Notifications You must be signed in to change notification settings

criblpacks/cribl-windows-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Pack


Deprecated release. Please seek out other releases: https://github.com/criblpacks/cribl-splunk-forwarder-windows-classic-events-to-json https://github.com/criblpacks/cribl-splunk-forwarder-windows-xml-events-to-json

This pack is targeted for collections of Window events in the Classic or newer XML format. For events in the Classic format, sometimes the Message field contains XML. These Message fields are also taken into consideration. The WindowsClassicEvents and WindowsXMLEvents pipelines inside the pack gives you the ability to shape events into JSON or Key=Value format and dramatically reduce event sizes.

Important Information


This pack may be incompatible with some Splunk dashboards that depend on specific field extractions.
The Windows-TA will also not work with this pack as all events are in a clean universal format.

Please review various Splunk add-ons and configuration files such as props.conf or transforms.conf and make adjustments as necessary.
The final output is JSON, but you can use Serialize to change to other formats if necessary.
JSON or KV formats can be auto-extracted in Splunk

In Splunk:
Step 1: Disable the Windows-TA
Step 2: If events are transformed to JSON set kv_mode=json
Step 3: Evaluate the fields and dashboards and see if you need to make alias in Splunk or add a Rename function in LogStream.

What to Expect


  • Classic Event Reduction: Expect up to 70% reduction in the event size.
  • XML Event Reduction: Expect a range from 25%-50% reduction in the event size.

Requirements


Before you begin, ensure that you have met the following requirements:

  1. Create a Route with with a filter for your Windows events
  2. Select the Windows pack as the pipeline.

Installation


Download the most recent .crbl file in the repo releases page

Release Notes


NO MORE RELEASES

Version 1.0.3 - 2022-04-01

  • Changed Classic Pipeline to work on _raw due to Mask performance issues on __internal fields.

Version 1.0.2 - 2022-03-21

  • Minor cleanup

Version 1.0.0 - 2022-03-09

  • Added support for Windows events from NXLog
  • Added support for Windows Perfmon

Version 0.9.3 - 2022-02-07

  • Improved XML pipeline to keep full nesting of JSON
  • Added support for other nested data in the Message

Version 0.9.2 - 2022-01-31

  • Added support for when there are entire code blocks {} or scripts in the Message like event code 4104
  • Added support for nuances in event code 1644

Version 0.9.1 - 2022-01-27

  • Added Classic with Embedded XML Message Route and Pipeline

Version 0.9.0 - 2022-01-26

  • Complete rewrite of Windows Classic Event Processing pipeline
  • Added support for WinEvent, WinHost, Active Directory as they all work with Classic or XML events
  • Added Route and pipeline for Windows DNS events

Version 0.5.5 - 2021-08-19

  • Added Field Filter Expression to Classic Pipeline final Parser to optionally remove values of '-'
  • Updated Eval to keep cribl_breaker from drop all fields
  • Updated sample data

Version 0.5.4 - 2021-08-13

  • Added support for new Display name of Pack
  • Added support for PowerShell events
  • Fixed Regex to ensure it gets the last Key=Value that doesn't contain a return

Version 0.5.3 - 2021-07-19

  • Removed unnecessary Parser function at the end of the WindowsXML pipeline as this step contradicts the Eval functions above

Version 0.5.2 - 2021-07-16

  • Updated the README with additional release notes

Version 0.5.1 - 2021-07-13

  • Updated README with information for installing the pack
  • Added actions for publishing .crbl from repo when new release is cut

Version 0.5.0 - 2021-07-10

Initial release! Windows events are big and ugly and LogStream Packs are beautiful!

Support for: WindowsXMLEvents and WindowsClassicEvents

Contributing to the Pack


Discuss this pack on our Community Slack channel #packs.

Contact


The author of this pack is David Maislin and can be contacted at david@cribl.io.

License


This Pack uses the following license: Apache 2.0.