disable logstash and redis if kafka enabled

This commit is contained in:
m0duspwnens
2024-04-10 14:13:27 -04:00
parent e9e61ea2d8
commit d3bd56b131
3 changed files with 5 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ kafka:
helpLink: kafka.html
client:
security_x_protocol:
description: Broker communication protocol. Options are: SASL_SSL, PLAINTEXT, SSL, SASL_PLAINTEXT
description: 'Broker communication protocol. Options are: SASL_SSL, PLAINTEXT, SSL, SASL_PLAINTEXT'
title: security.protocol
regex: ^(SASL_SSL|PLAINTEXT|SSL|SASL_PLAINTEXT)
helpLink: kafka.html

View File

@@ -4,9 +4,10 @@
# Elastic License 2.0.
{% from 'logstash/map.jinja' import LOGSTASH_MERGED %}
{% from 'kafka/map.jinja' import KAFKAMERGED %}
include:
{% if LOGSTASH_MERGED.enabled %}
{% if LOGSTASH_MERGED.enabled and not KAFKAMERGED.enabled %}
- logstash.enabled
{% else %}
- logstash.disabled

View File

@@ -4,9 +4,10 @@
# Elastic License 2.0.
{% from 'redis/map.jinja' import REDISMERGED %}
{% from 'kafka/map.jinja' import KAFKAMERGED %}
include:
{% if REDISMERGED.enabled %}
{% if REDISMERGED.enabled and not KAFKAMERGED.enabled %}
- redis.enabled
{% else %}
- redis.disabled