Skip to content

Commit

Permalink
Docs: Use [source,yaml] format for all YAML snippets. (#2062)
Browse files Browse the repository at this point in the history
  • Loading branch information
7lima authored and tsg committed Jul 19, 2016
1 parent 9718af5 commit 77f93ec
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions filebeat/docs/multiline.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Exception in thread "main" java.lang.NullPointerException

To consolidate these lines into a single event in Filebeat, use the following multiline configuration:

[source,json]
[source,yaml]
-------------------------------------------------------------------------------------
multiline:
pattern: '^[[:space:]]'
Expand All @@ -69,7 +69,7 @@ Caused by: java.lang.NullPointerException

To consolidate these lines into a single event in Filebeat, use the following multiline configuration:

["source","sh",subs="attributes,callouts"]
[source,yaml]
-------------------------------------------------------------------------------------
multiline:
pattern: '^[[:space:]]+|^Caused by:'
Expand All @@ -96,7 +96,7 @@ printf ("%10.10ld \t %10.10ld \t %s\

To consolidate these lines into a single event in Filebeat, use the following multiline configuration:

[source,json]
[source,yaml]
-------------------------------------------------------------------------------------
multiline:
pattern: '\\$'
Expand All @@ -119,7 +119,6 @@ specific activity, as in this example:

To consolidate these lines into a single event in Filebeat, use the following multiline configuration:

[source,json]
[source,yaml]
-------------------------------------------------------------------------------------
multiline:
Expand Down

0 comments on commit 77f93ec

Please sign in to comment.