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

Change input_type to type in config examples #4433

Merged
merged 1 commit into from
Jun 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions docs/devguide/modules-dev-guide.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ A typical example looks like this:

[source,yaml]
----
input_type: log
type: log
paths:
{{ range $i, $path := .paths }}
- {{$path}}
Expand All @@ -174,7 +174,7 @@ Here is another example that also configures multiline stitching:

[source,yaml]
----
input_type: log
type: log
paths:
{{ range $i, $path := .paths }}
- {{$path}}
Expand Down
8 changes: 4 additions & 4 deletions libbeat/docs/config-file-format.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Lists and dictionaries are used in beats to build structured configurations.
------------------------------------------------------------------------------
filebeat:
prospectors:
- input_type: log
- type: log
paths:
- /var/log/*.log
multiline:
Expand Down Expand Up @@ -92,11 +92,11 @@ For example this filebeat setting:

filebeat:
prospectors:
- input_type: log
- type: log

------------------------------------------------------------------------------

Gets collapsed into `filebeat.prospectors.0.input_type: log`.
Gets collapsed into `filebeat.prospectors.0.type: log`.

Alternatively to using indentation, setting names can be used in collapsed form too.

Expand All @@ -109,7 +109,7 @@ Simple filebeat example with partially collapsed setting names and use of compac
------------------------------------------------------------------------------

filebeat.prospectors:
- input_type: log
- type: log
paths: ["/var/log/*.log"]
multiline.pattern: '^['
multiline.match: after
Expand Down