diff --git a/pkg/generators/forwarding/fluentd/fluent_conf_test.go b/pkg/generators/forwarding/fluentd/fluent_conf_test.go index a6c4701797..8742b0762a 100644 --- a/pkg/generators/forwarding/fluentd/fluent_conf_test.go +++ b/pkg/generators/forwarding/fluentd/fluent_conf_test.go @@ -956,7 +956,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1004,7 +1004,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1053,7 +1053,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1101,7 +1101,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1150,7 +1150,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1198,7 +1198,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1247,7 +1247,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -1295,7 +1295,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 diff --git a/pkg/generators/forwarding/fluentd/output_conf_es_test.go b/pkg/generators/forwarding/fluentd/output_conf_es_test.go index 6e489034d9..eb5692170d 100644 --- a/pkg/generators/forwarding/fluentd/output_conf_es_test.go +++ b/pkg/generators/forwarding/fluentd/output_conf_es_test.go @@ -90,7 +90,7 @@ var _ = Describe("Generating fluentd config blocks", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -138,7 +138,7 @@ var _ = Describe("Generating fluentd config blocks", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -200,7 +200,7 @@ var _ = Describe("Generating fluentd config blocks", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -244,7 +244,7 @@ var _ = Describe("Generating fluentd config blocks", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 diff --git a/pkg/generators/forwarding/fluentd/output_fluentd_buffer_test.go b/pkg/generators/forwarding/fluentd/output_fluentd_buffer_test.go index fe2ae0b7a4..b6c5293598 100644 --- a/pkg/generators/forwarding/fluentd/output_fluentd_buffer_test.go +++ b/pkg/generators/forwarding/fluentd/output_fluentd_buffer_test.go @@ -75,7 +75,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -119,7 +119,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -173,7 +173,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 @@ -217,7 +217,7 @@ var _ = Describe("Generating fluentd config", func() { # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648 diff --git a/pkg/generators/forwarding/fluentd/templates.go b/pkg/generators/forwarding/fluentd/templates.go index f22f18a598..c71a7016e5 100644 --- a/pkg/generators/forwarding/fluentd/templates.go +++ b/pkg/generators/forwarding/fluentd/templates.go @@ -641,7 +641,7 @@ const storeElasticsearchTemplate = `{{ define "storeElasticsearch" -}} # https://github.com/uken/fluent-plugin-elasticsearch#reload-after reload_after '200' # https://github.com/uken/fluent-plugin-elasticsearch#sniffer-class-name - + sniffer_class_name 'Fluent::Plugin::ElasticsearchSimpleSniffer' reload_on_failure false # 2 ^ 31 request_timeout 2147483648