diff --git a/packages/elasticsearch/changelog.yml b/packages/elasticsearch/changelog.yml index 8fbfed57574..3261b17e375 100644 --- a/packages/elasticsearch/changelog.yml +++ b/packages/elasticsearch/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "1.6.2" + changes: + - description: Add missing ssl, condition and leader_election support to elasticsearch ingest pipeline datastream + type: bugfix + link: https://github.com/elastic/integrations/pull/5939 - version: "1.6.1" changes: - description: Add explicit mapping for event timestamp fields diff --git a/packages/elasticsearch/data_stream/ingest_pipeline/agent/stream/stream.yml.hbs b/packages/elasticsearch/data_stream/ingest_pipeline/agent/stream/stream.yml.hbs index 822705f1693..c3735261340 100644 --- a/packages/elasticsearch/data_stream/ingest_pipeline/agent/stream/stream.yml.hbs +++ b/packages/elasticsearch/data_stream/ingest_pipeline/agent/stream/stream.yml.hbs @@ -11,5 +11,19 @@ username: {{username}} password: {{password}} {{/if}} period: {{period}} +{{#if ssl}} +ssl: {{ssl}} +{{/if}} +{{#if leaderelection }} +{{#if condition }} +condition: ${kubernetes_leaderelection.leader} == true and {{ condition }} +{{ else }} +condition: ${kubernetes_leaderelection.leader} == true +{{/if}} +{{ else }} +{{#if condition }} +condition: {{ condition }} +{{/if}} +{{/if}} -ingest_pipeline.processor_sample_rate: {{ingest_pipeline_processor_sampling_rate}} \ No newline at end of file +ingest_pipeline.processor_sample_rate: {{ingest_pipeline_processor_sampling_rate}} diff --git a/packages/elasticsearch/manifest.yml b/packages/elasticsearch/manifest.yml index d43af941f5a..df77b16c295 100644 --- a/packages/elasticsearch/manifest.yml +++ b/packages/elasticsearch/manifest.yml @@ -1,6 +1,6 @@ name: elasticsearch title: Elasticsearch -version: 1.6.1 +version: 1.6.2 description: Elasticsearch Integration type: integration icons: