From 2feb87deaff33044fccd94782e5016389f3b2d86 Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Tue, 4 Jun 2019 10:17:02 +0200 Subject: [PATCH] Fix references to `beat.timezone` in docs (#12399) (#12405) `beat.timezone` was moved to `event.timezone` as part of the ECS migration done for 7.0. Update some pending references in documentation. (cherry picked from commit a3994ddb695ae69d5806dd759f98cfe21a220f47) --- filebeat/docs/include/var-convert-timezone.asciidoc | 4 ++-- libbeat/docs/processors-using.asciidoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filebeat/docs/include/var-convert-timezone.asciidoc b/filebeat/docs/include/var-convert-timezone.asciidoc index dcec579e260..c4a18b7d9fa 100644 --- a/filebeat/docs/include/var-convert-timezone.asciidoc +++ b/filebeat/docs/include/var-convert-timezone.asciidoc @@ -2,9 +2,9 @@ If this option is enabled, Filebeat reads the local timezone and uses it at log parsing time to convert the timestamp to UTC. The local timezone is also added -in each event in a dedicated field (`beat.timezone`). The conversion is only +in each event in a dedicated field (`event.timezone`). The conversion is only possible in Elasticsearch >= 6.1. If the Elasticsearch version is less than 6.1, -the `beat.timezone` field is added, but the conversion to UTC is not made. The +the `event.timezone` field is added, but the conversion to UTC is not made. The default is ifdef::default_convert_timezone[`true`] ifndef::default_convert_timezone[`false`] diff --git a/libbeat/docs/processors-using.asciidoc b/libbeat/docs/processors-using.asciidoc index 81d9b56dac6..e1e94fccae4 100644 --- a/libbeat/docs/processors-using.asciidoc +++ b/libbeat/docs/processors-using.asciidoc @@ -732,7 +732,7 @@ The `add_locale` processor enriches each event with the machine's time zone offset from UTC or with the name of the time zone. It supports one configuration option named `format` that controls whether an offset or time zone abbreviation is added to the event. The default format is `offset`. The processor adds the -a `beat.timezone` value to each event. +a `event.timezone` value to each event. The configuration below enables the processor with the default settings.