Skip to content

Commit

Permalink
Fix YAML indentation in parsers examples (#29663)
Browse files Browse the repository at this point in the history
  • Loading branch information
smokris authored Jan 18, 2022
1 parent 9048983 commit 9e0dad7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions filebeat/docs/inputs/input-filestream-reader-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ The multiline message is stored under the key `msg`.
...
parsers:
- ndjson:
keys_under_root: true
message_key: msg
keys_under_root: true
message_key: msg
- multiline:
type: counter
lines_count: 3
type: counter
lines_count: 3
----

See the available parser settings in detail below.
Expand Down Expand Up @@ -197,9 +197,9 @@ Example configuration:
[source,yaml]
----
- ndjson:
keys_under_root: true
add_error_key: true
message_key: log
keys_under_root: true
add_error_key: true
message_key: log
----

*`keys_under_root`*:: By default, the decoded JSON is placed under a "json" key
Expand Down Expand Up @@ -256,5 +256,5 @@ all containers under the default Kubernetes logs path:
- "/var/log/containers/*.log"
parsers:
- container:
stream: stdout
stream: stdout
----

0 comments on commit 9e0dad7

Please sign in to comment.