diff --git a/filebeat/docs/fields.asciidoc b/filebeat/docs/fields.asciidoc index eb5550bec47..de7655f0358 100644 --- a/filebeat/docs/fields.asciidoc +++ b/filebeat/docs/fields.asciidoc @@ -304,6 +304,12 @@ The name of the Beat sending the log messages. If the Beat name is set in the co The hostname as returned by the operating system on which the Beat is running. +[float] +=== beat.timezone + +The timezone as returned by the operating system on which the Beat is running. + + [float] === beat.version diff --git a/heartbeat/docs/fields.asciidoc b/heartbeat/docs/fields.asciidoc index 7bee2fdef6b..58b338ca337 100644 --- a/heartbeat/docs/fields.asciidoc +++ b/heartbeat/docs/fields.asciidoc @@ -36,6 +36,12 @@ The name of the Beat sending the log messages. If the Beat name is set in the co The hostname as returned by the operating system on which the Beat is running. +[float] +=== beat.timezone + +The timezone as returned by the operating system on which the Beat is running. + + [float] === beat.version diff --git a/libbeat/processors/add_locale/add_locale_test.go b/libbeat/processors/add_locale/add_locale_test.go index 34b20e3f3a9..3d2b31a9396 100644 --- a/libbeat/processors/add_locale/add_locale_test.go +++ b/libbeat/processors/add_locale/add_locale_test.go @@ -42,3 +42,18 @@ func getActualValue(t *testing.T, config *common.Config, input common.MapStr) co return actual } + +func BenchmarkConstruct(b *testing.B) { + var testConfig = common.NewConfig() + + input := common.MapStr{} + + p, err := newAddLocale(*testConfig) + if err != nil { + b.Fatal(err) + } + + for i := 0; i < b.N; i++ { + _, err = p.Run(input) + } +} diff --git a/metricbeat/docs/fields.asciidoc b/metricbeat/docs/fields.asciidoc index 119925546a6..9e920ca5d95 100644 --- a/metricbeat/docs/fields.asciidoc +++ b/metricbeat/docs/fields.asciidoc @@ -383,6 +383,12 @@ The name of the Beat sending the log messages. If the Beat name is set in the co The hostname as returned by the operating system on which the Beat is running. +[float] +=== beat.timezone + +The timezone as returned by the operating system on which the Beat is running. + + [float] === beat.version diff --git a/packetbeat/docs/fields.asciidoc b/packetbeat/docs/fields.asciidoc index 5009ceb677b..e553e41afd3 100644 --- a/packetbeat/docs/fields.asciidoc +++ b/packetbeat/docs/fields.asciidoc @@ -375,6 +375,12 @@ The name of the Beat sending the log messages. If the Beat name is set in the co The hostname as returned by the operating system on which the Beat is running. +[float] +=== beat.timezone + +The timezone as returned by the operating system on which the Beat is running. + + [float] === beat.version diff --git a/winlogbeat/docs/fields.asciidoc b/winlogbeat/docs/fields.asciidoc index 7826b431a75..7085b9e7512 100644 --- a/winlogbeat/docs/fields.asciidoc +++ b/winlogbeat/docs/fields.asciidoc @@ -37,6 +37,12 @@ The name of the Beat sending the log messages. If the Beat name is set in the co The hostname as returned by the operating system on which the Beat is running. +[float] +=== beat.timezone + +The timezone as returned by the operating system on which the Beat is running. + + [float] === beat.version