--- Logstash::Output::Opensearch[ecs_1.11.0-8].orig
+++ Logstash::Output::Opensearch[ecs_1.11.0-8]
+ index => ecs-%{[@metadata][partition]}-%{[@metadata][policy_revision]}-1.11.0-8-%{[@metadata][datestamp_format]}
+ template_name => ecs_1.11.0-8
+ require => File[/etc/logstash/templates]
+ port => 9200
+ priority => 90
+ host => 127.0.0.1
+ plugin_id => output/opensearch/ecs_1.11.0-8
+ ensure => present
+ template => /etc/logstash/templates/ecs_1.11.0-8.json
+ guard_condition => [@metadata][output] == "ecs" and [@metadata][template_version] == "1.11.0"
File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-8.conf]
- Parameters differences:
--- File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-8.conf].orig
+++ File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-8.conf]
+ group => logstash
+ ensure => present
+ validate_cmd => /usr/local/bin/logstash-config-test %
+ mode => 0440
+ owner => logstash
+ notify => Service[logstash]
- Content differences:
--- /etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-8.conf.orig
+++ /etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-8.conf
@@ -0,0 +1,20 @@
+output {
+if [@metadata][output] == "ecs" and [@metadata][template_version] == "1.11.0" {
+ # We use the http protocol so that the cluster and logstash don't have to
+ # be tightly coupled by the binary protocol
+ opensearch {
+ hosts => ["127.0.0.1:9200"]
+ index => "ecs-%{[@metadata][partition]}-%{[@metadata][policy_revision]}-1.11.0-8-%{[@metadata][datestamp_format]}"
+
+ manage_template => true
+ template => "/etc/logstash/templates/ecs_1.11.0-8.json"
+ template_name => "ecs_1.11.0-8"
+ template_overwrite => true
+
+
+
+ id => "output/opensearch/ecs_1.11.0-8"
+
+ }
+}
+}
- Logstash::Output::Opensearch[ecs_1.11.0-7]
- Parameters differences:
--- Logstash::Output::Opensearch[ecs_1.11.0-7].orig
+++ Logstash::Output::Opensearch[ecs_1.11.0-7]
- index => ecs-%{[@metadata][partition]}-%{[@metadata][policy_revision]}-1.11.0-7-%{[@metadata][datestamp_format]}
- template_name => ecs_1.11.0-7
- require => File[/etc/logstash/templates]
- port => 9200
- priority => 90
- host => 127.0.0.1
- plugin_id => output/opensearch/ecs_1.11.0-7
- ensure => present
- template => /etc/logstash/templates/ecs_1.11.0-7.json
- guard_condition => [@metadata][output] == "ecs" and [@metadata][template_version] == "1.11.0"
- File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-7.conf]
- Parameters differences:
--- File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-7.conf].orig
+++ File[/etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-7.conf]
- group => logstash
- ensure => present
- validate_cmd => /usr/local/bin/logstash-config-test %
- mode => 0440
- owner => logstash
- notify => Service[logstash]
- Content differences:
--- /etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-7.conf.orig
+++ /etc/logstash/conf.d/90-output-opensearch-ecs_1-11-0-7.conf
@@ -1,20 +0,0 @@
-output {
-if [@metadata][output] == "ecs" and [@metadata][template_version] == "1.11.0" {
- # We use the http protocol so that the cluster and logstash don't have to
- # be tightly coupled by the binary protocol
- opensearch {
- hosts => ["127.0.0.1:9200"]
- index => "ecs-%{[@metadata][partition]}-%{[@metadata][policy_revision]}-1.11.0-7-%{[@metadata][datestamp_format]}"
-
- manage_template => true
- template => "/etc/logstash/templates/ecs_1.11.0-7.json"
- template_name => "ecs_1.11.0-7"
- template_overwrite => true
-
-
-
- id => "output/opensearch/ecs_1.11.0-7"
-
- }
-}
-}
- Logstash::Conf[output-opensearch-ecs_1.11.0-7]
- Parameters differences:
--- Logstash::Conf[output-opensearch-ecs_1.11.0-7].orig
+++ Logstash::Conf[output-opensearch-ecs_1.11.0-7]
- ensure => present
- priority => 90