Skip to content

Commit

Permalink
Clarify how to set beat.name (#2408)
Browse files Browse the repository at this point in the history
Update generated fields.asciidoc
  • Loading branch information
dedemorton authored and ruflin committed Aug 30, 2016
1 parent 3f06787 commit 08a634e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Contains common fields available in all event types.

==== beat.name

The name of the Beat sending the log messages. If the shipper name is set in the configuration file, then that value is used. If it is not set, the hostname is used.
The name of the Beat sending the log messages. If the shipper name is set in the configuration file, then that value is used. If it is not set, the hostname is used. To set the shipper name, use the `name` option in the `shipper` section of the configuration file.


==== beat.hostname
Expand Down
3 changes: 2 additions & 1 deletion filebeat/etc/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ env:
description: >
The name of the Beat sending the log messages. If the shipper name is set
in the configuration file, then that value is used. If it is not set,
the hostname is used.
the hostname is used. To set the shipper name, use the `name` option in
the `shipper` section of the configuration file.
- name: beat.hostname
description: >
Expand Down

0 comments on commit 08a634e

Please sign in to comment.