Set shards and replicas for wazuh template.
This commit is contained in:
parent
2ba65efae7
commit
fe2f1d94eb
@ -4,6 +4,8 @@ logstash_input_beats: false
|
|||||||
|
|
||||||
elasticsearch_network_host: "127.0.0.1"
|
elasticsearch_network_host: "127.0.0.1"
|
||||||
elasticsearch_http_port: "9200"
|
elasticsearch_http_port: "9200"
|
||||||
|
elasticsearch_shards: 5
|
||||||
|
elasticsearch_replicas: 1
|
||||||
elastic_stack_version: 5.5.0
|
elastic_stack_version: 5.5.0
|
||||||
|
|
||||||
logstash_ssl: false
|
logstash_ssl: false
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
#jinja2: trim_blocks:False
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
# Wazuh - Logstash configuration file
|
# Wazuh - Logstash configuration file
|
||||||
|
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
"template": "wazuh*",
|
"template": "wazuh*",
|
||||||
"settings": {
|
"settings": {
|
||||||
"index.refresh_interval": "5s",
|
"index.refresh_interval": "5s",
|
||||||
"number_of_shards" : 1,
|
"number_of_shards": {{ elasticsearch_shards }},
|
||||||
"number_of_replicas" : 0
|
"number_of_replicas": {{ elasticsearch_replicas }}
|
||||||
},
|
},
|
||||||
"mappings": {
|
"mappings": {
|
||||||
"wazuh": {
|
"wazuh": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user