counteractive / o365beat

Elastic Beat for fetching and shipping Office 365 audit events
Other
66 stars 27 forks source link

ECS event.severity is type long, whereas O365 Severity is a string #13

Closed chris-counteractive closed 4 years ago

chris-counteractive commented 4 years ago

The processor for converting Severity to ECS event.severity converts it to the wrong type (string), when elasticsearch expects long, causing parsing errors.

Simplest fix is to remove the conversion in _meta/beat.yml. Could consider a mapping to a numeric value, but that'd be arbitrary and subject to future incompatibility.