From 984d50ef9e2e1d6ca429f26320268347082adf94 Mon Sep 17 00:00:00 2001 From: 7lima Date: Tue, 19 Jul 2016 14:41:12 +0200 Subject: [PATCH] Docs: Use [source,yaml] format for all YAML snippets. --- filebeat/docs/multiline.asciidoc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/filebeat/docs/multiline.asciidoc b/filebeat/docs/multiline.asciidoc index 779566c30af2..6c59de25b344 100644 --- a/filebeat/docs/multiline.asciidoc +++ b/filebeat/docs/multiline.asciidoc @@ -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:]]' @@ -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:' @@ -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: '\\$' @@ -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: