Translate SID

edit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The translate_sid processor translates a Windows security identifier (SID) into an account name. It retrieves the name of the account associated with the SID, the first domain on which the SID is found, and the type of account. This is only available on Windows.

Every account on a network is issued a unique SID when the account is first created. Internal processes in Windows refer to an account’s SID rather than the account’s user or group name, and these values sometimes appear in logs.

If the SID is invalid (malformed) or does not map to any account on the local system or domain, the processor will return an error unless ignore_failure is set.

Example

edit
  - translate_sid:
      field: winlog.event_data.MemberSid
      account_name_target: user.name
      domain_target: user.domain
      ignore_missing: true
      ignore_failure: true

Configuration settings

edit

Elastic Agent processors execute before ingest pipelines, which means that your processor configurations cannot refer to fields that are created by ingest pipelines or Logstash. For more limitations, refer to What are some limitations of using processors?

Name Required Default Description

field

Yes

Source field containing a Windows security identifier (SID).

account_name_target

Yes*

Target field for the account name value.

account_type_target

Yes*

Target field for the account type value.

domain_target

Yes*

Target field for the domain value.

ignore_missing

No

false

Ignore errors when the source field is missing.

ignore_failure

No

false

Ignore all errors produced by the processor.

* At least one of account_name_target, account_type_target, and domain_target must be configured.