Added admin as new setting

This commit is contained in:
Jesús Ángel 2018-10-30 12:23:45 +01:00
parent 44cc27216f
commit f4a11278d0
2 changed files with 5 additions and 1 deletions

View File

@ -94,3 +94,6 @@
# Configure wazuh-monitoring-3.x-* indices shards and replicas. # Configure wazuh-monitoring-3.x-* indices shards and replicas.
#wazuh.monitoring.shards: 5 #wazuh.monitoring.shards: 5
#wazuh.monitoring.replicas: 1 #wazuh.monitoring.replicas: 1
#
# ------------------------------- App privileges --------------------------------
#admin: false

View File

@ -37,7 +37,8 @@ export async function getWzConfig($q, genericReq, errorHandler, wazuhConfig) {
'wazuh.monitoring.enabled': true, 'wazuh.monitoring.enabled': true,
'wazuh.monitoring.frequency': 3600, 'wazuh.monitoring.frequency': 3600,
'wazuh.monitoring.shards': 5, 'wazuh.monitoring.shards': 5,
'wazuh.monitoring.replicas': 1 'wazuh.monitoring.replicas': 1,
'admin': false
}; };
try { try {