Skip to content

Crowdstrike Filebeat Module: Parsing Issues #20035

@vi-or-die

Description

@vi-or-die

The CrowdStrike Filebeat (version 7.8) module appears to have two issues.

  • Null / non-existent values in event.UserIP field causing parse errors during ingest.
  • Parsing of UTCTimestamp to crowdstrike.event.UTCTimestamp (ECS Format) appears to be incorrect for eventType=="UserActivityAuditEvent", timestamp is in UNIX format not UNIX_MS.

For confirmed bugs, please report:

Empty Source IP field

At line 22 in /usr/share/filebeat/module/crowdstrike/falcon/config/pipeline.js add

if (evt.Get("crowdstrike.metadata.eventType") == "UserActivityAuditEvent") {
   evt.Delete("crowdstrike.event.UserIp")
}

UTCTimestamp Conversion

at line 51 in in /usr/share/filebeat/module/crowdstrike/falcon/config/pipeline.js add the following function

    var parseUTCTimestamp = new processor.Timestamp({
        field: "crowdstrike.event.UTCTimestamp",
        target_field: "crowdstrike.event.UTCTimestamp",
        timezone: "UTC",
        layouts: ["UNIX"],
        ignore_missing: true,
    });

Add the following to the pipeline processor chain

	.Add(parseUTCTimestamp)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions