Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that file extension should exclude the dot. #1016

Merged
merged 5 commits into from
Oct 7, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Build experimental artifacts.
  • Loading branch information
Mathieu Martin committed Oct 7, 2020
commit bfa20b87d3f7061a1b92495708194330d1cf51fe
5 changes: 4 additions & 1 deletion experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
@@ -1568,7 +1568,10 @@
level: extended
type: keyword
ignore_above: 1024
description: File extension.
description: 'File extension, excluding the leading dot.

If the file name has multime extensions (example.tar.gz), this field should
contain all extensions without the leading dot (tar.gz).'
example: png
- name: gid
level: extended
2 changes: 1 addition & 1 deletion experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
@@ -174,7 +174,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
2.0.0-dev,true,file,file.device,keyword,extended,,sda,Device that is the source of the file.
2.0.0-dev,true,file,file.directory,wildcard,extended,,/home/alice,Directory where the file is located.
2.0.0-dev,true,file,file.drive_letter,keyword,extended,,C,Drive letter where the file is located.
2.0.0-dev,true,file,file.extension,keyword,extended,,png,File extension.
2.0.0-dev,true,file,file.extension,keyword,extended,,png,"File extension, excluding the leading dot."
2.0.0-dev,true,file,file.gid,keyword,extended,,1001,Primary group ID (GID) of the file.
2.0.0-dev,true,file,file.group,keyword,extended,,alice,Primary group name of the file.
2.0.0-dev,true,file,file.hash.md5,keyword,extended,,,MD5 hash.
7 changes: 5 additions & 2 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
@@ -2502,14 +2502,17 @@ file.drive_letter:
type: keyword
file.extension:
dashed_name: file-extension
description: File extension.
description: 'File extension, excluding the leading dot.

If the file name has multime extensions (example.tar.gz), this field should contain
all extensions without the leading dot (tar.gz).'
example: png
flat_name: file.extension
ignore_above: 1024
level: extended
name: extension
normalize: []
short: File extension.
short: File extension, excluding the leading dot.
type: keyword
file.gid:
dashed_name: file-gid
7 changes: 5 additions & 2 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
@@ -2925,14 +2925,17 @@ file:
type: keyword
file.extension:
dashed_name: file-extension
description: File extension.
description: 'File extension, excluding the leading dot.

If the file name has multime extensions (example.tar.gz), this field should
contain all extensions without the leading dot (tar.gz).'
example: png
flat_name: file.extension
ignore_above: 1024
level: extended
name: extension
normalize: []
short: File extension.
short: File extension, excluding the leading dot.
type: keyword
file.gid:
dashed_name: file-gid