Skip to content

Commit

Permalink
system.auth - sync pipeline with Fleet integration
Browse files Browse the repository at this point in the history
Sync the pipeline for the system.auth dataset with the Fleet integration
from elastic/integrations#3705.

This removes the event.type authentication_failed and authentication_success
values which are not allowed as per ECS. You can use event.category: authentication
and event.outcome: success/failure to query instead.
  • Loading branch information
andrewkroh committed Jul 19, 2022
1 parent 5d4d48c commit 8fadb43
Show file tree
Hide file tree
Showing 7 changed files with 235 additions and 240 deletions.
7 changes: 7 additions & 0 deletions filebeat/module/system/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ include::../include/var-paths.asciidoc[]

include::../include/var-paths.asciidoc[]

*`var.tags`*::

A list of tags to include in events. Including `forwarded` indicates that the
events did not originate on this host and causes `host.name` to not be added to
events. Include `preserve_orginal_event` causes the pipeline to retain the raw
log in `event.original`. Defaults to `[]`.

include::../include/timezone-support.asciidoc[]

[float]
Expand Down
10 changes: 6 additions & 4 deletions filebeat/module/system/auth/config/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ paths:
- {{$path}}
{{ end }}
exclude_files: [".gz$"]

multiline:
pattern: "^\\s"
match: after

processors:
- add_locale: ~
- add_fields:
target: ''
fields:
ecs.version: 1.12.0

tags: {{ .tags | tojson }}

publisher_pipeline.disable_host: {{ inList .tags "forwarded" }}
Loading

0 comments on commit 8fadb43

Please sign in to comment.