Skip to content

Commit

Permalink
Add back lost audit.file.path.raw field (#5943)
Browse files Browse the repository at this point in the history
Somewhere in the Auditbeat module refactoring this multi-field got dropped.

This was originally added in #5625.
  • Loading branch information
andrewkroh authored and ph committed Dec 22, 2017
1 parent e9e6bd6 commit 2478bf9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
10 changes: 9 additions & 1 deletion auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2149,10 +2149,18 @@ These are the fields generated by the file_integrity module.
[float]
=== `audit.file.path`
type: keyword
type: text
The path to the file.
[float]
=== `audit.file.path.raw`
type: keyword
The path to the file. This is an non-analyzed field that is useful for aggregations.
[float]
=== `audit.file.target_path`
Expand Down
8 changes: 7 additions & 1 deletion auditbeat/module/file_integrity/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
type: group
fields:
- name: path
type: keyword
type: text
description: The path to the file.
multi_fields:
- name: raw
type: keyword
description: >
The path to the file. This is an non-analyzed field that is useful
for aggregations.
- name: target_path
type: keyword
Expand Down

0 comments on commit 2478bf9

Please sign in to comment.