Skip to content

Commit 34216d2

Browse files
author
Hiruma31
committed
doc: Add new fields to filestream prospectors page
1 parent b3f166f commit 34216d2

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/reference/filebeat/filebeat-input-filestream.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,16 @@ A list of glob-based paths that will be crawled and fetched. All patterns suppor
216216
Filebeat starts a harvester for each file that it finds under the specified paths. You can specify one path per line. Each line begins with a dash (-).
217217

218218

219+
#### `include_file_owner_name` [filestream-input-include_file_owner_name]
220+
221+
Includes the log file owner to `log.file` metadata.
222+
223+
224+
#### `include_file_owner_group_name` [filestream-input-include_file_owner_group_name]
225+
226+
Includes the log file group to `log.file` metadata.
227+
228+
219229
## Scanner options [_scanner_options]
220230

221231
The scanner watches the configured paths. It scans the file system periodically and returns the file system events to the Prospector.

filebeat/filebeat.reference.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,10 @@ filebeat.inputs:
861861
# if the fingerprints match, then the files are considered equal.
862862
#file_identity.fingerprint: ~
863863

864+
# Include file owner name and group name in the event metadata.
865+
#include_file_owner_name: true
866+
#include_file_owner_group_name: true
867+
864868
# Optional additional fields. These fields can be freely picked
865869
# to add additional information to the crawled log files for filtering
866870
#fields:

0 commit comments

Comments
 (0)