Merge pull request #549 from NullOranje/add-wazuh.monitoring.creation-variable

Add environment variable to customize wazuh.monitoring.creation interval
This commit is contained in:
Alberto Rodríguez
2021-11-25 15:07:22 +01:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ IP_SELECTOR=true # Defines if the user is allowed to change the s
IP_IGNORE="[]" # List of index patterns to be ignored
WAZUH_MONITORING_ENABLED=true # Custom settings to enable/disable wazuh-monitoring indices
WAZUH_MONITORING_CREATION=d # Custom setting to set the wazuh-monitoring-* indices creation interval
WAZUH_MONITORING_FREQUENCY=900 # Custom setting to set the frequency for wazuh-monitoring indices cron task
WAZUH_MONITORING_SHARDS=2 # Configure wazuh-monitoring-* indices shards and replicas
WAZUH_MONITORING_REPLICAS=0 #

View File

@@ -32,6 +32,7 @@ declare -A CONFIG_MAP=(
[ip.selector]=$IP_SELECTOR
[ip.ignore]=$IP_IGNORE
[wazuh.monitoring.enabled]=$WAZUH_MONITORING_ENABLED
[wazuh.monitoring.creation]=$WAZUH_MONITORING_CREATION
[wazuh.monitoring.frequency]=$WAZUH_MONITORING_FREQUENCY
[wazuh.monitoring.shards]=$WAZUH_MONITORING_SHARDS
[wazuh.monitoring.replicas]=$WAZUH_MONITORING_REPLICAS

View File

@@ -32,6 +32,7 @@ declare -A CONFIG_MAP=(
[ip.selector]=$IP_SELECTOR
[ip.ignore]=$IP_IGNORE
[wazuh.monitoring.enabled]=$WAZUH_MONITORING_ENABLED
[wazuh.monitoring.creation]=$WAZUH_MONITORING_CREATION
[wazuh.monitoring.frequency]=$WAZUH_MONITORING_FREQUENCY
[wazuh.monitoring.shards]=$WAZUH_MONITORING_SHARDS
[wazuh.monitoring.replicas]=$WAZUH_MONITORING_REPLICAS