Deploying the Cribl Edge Windows USID Pack

June 12, 2026

Abstract dark particles passing through a crystal lens and emerging as distinct blue-edged forms

Introduction

The recently rereleased Cribl Edge Windows USID Pack fills an important gap in Windows Security Event monitoring: resolving Windows Security Identifiers (SIDs) to human-readable names. This means that instead of seeing GUID’s like abcd449-42a4-d357-337f-abcd12345678 in your logs, you’ll see something like HELMSDEEP\dennis morton!

This capability has long been an option (disabled by default) in the Splunk Universal Forwarder via the evt_resolve_ad_obj option, so it’s nice to now have this option in Cribl Edge as well.

Pack Overview

The Pack works by using the new Windows SID Lookup function in a pipeline configured to extract all SID’s via a RegEx into the field ResolvedSids:

A screenshot showing a code interface with fields labeled 'Name' and 'Value Expression'. The Value Expression contains a JavaScript code snippet for matching values in a dataset.

The ResolvedSidsfield will look something like the following after the SID Lookup function – an array containing name-sid pairs.

Code output showing resolved security identifiers (SIDs) including a NULL SID and a specific SID for a computer account.

It then uses the following Code function to replace the SIDs in _raw with their resolved versions. In short, it loops through the ResolvedSid’s array and then performs a regex replace of SID->Resolved SID:

const sids = __e['ResolvedSids'];
let raw = __e['_raw'];
sids.forEach(item => {
if(!('error' in item)) {
const regex = new RegExp(item.sid, 'g');
raw = raw.replace(regex, item.name);
}
});
__e['_raw'] = raw;

Line 5 is key – it skips items that returned any sort of “error”, such as below:

Error message displayed in a programming context indicating an unexpected type returned by an expression.

By default, the Pack leaves the ResolvedSidsfield in the event. Enabling the Splunk output option will remove it, however.

Basic Deployment

The Pack only supports Windows logs in XML format!

Deploying the Pack is straightforward:

  • Navigate to the Fleet you want to install the Pack into and choose More->Packs, click Add Pack->Add from Dispensary. Search for “Cribl Edge Windows USID” and then click Add Pack in the upper right:
User interface display showing monitoring metrics, including event rates and data transfer information with charts for system performance.
  • From the Collect screen, select your Windows Event route, choose Pack, select the “Cribl Edge Windows USID” Pack and then click Save.
User interface for configuring data sources and destinations in a monitoring application, featuring various sources like File Monitor and System Metrics connected to output destinations.
  • Another option is to use the Pack as a pre-processing “pipeline” – this is especially useful if you already have a Pipeline or Pack that is processing Windows logs. See below for how to configure this option.
Flowchart displaying data sources and destinations in a monitoring tool interface, showing connections between various input sources and output destinations on a dark background.

Once you perform a Commit/Deploy, the Pack will start resolving SID’s and substituting them into each event automatically.

SID Resolution Quality Metrics Option

If you would like to report on successful vs errored SID resolutions, you can use the following Code function and Eval Function in a Stream Pipeline:

try{
let resolvedSids = __e['ResolvedSids'];
let resolved = resolvedSids.reduce((count, entry) => {
return ('error' in entry) ? count : count + 1;
}, 0);
let errors = resolvedSids.length - resolved;
__e['sidsResolved'] = resolved;
__e['sidsErrors'] = errors;
}
catch (err)
{
__e.CRIBLERR = String(err);
}
Screenshot of a user interface displaying evaluation settings with filter options, field evaluations, and toggles for enabling or disabling options.

The function yields this output:

Screenshot of system and security logs displaying resolved SIDs, error metrics, and event details in a formatted text interface.

Dennis Morton

Principal Consultant

dmorton@nthdegree.io