mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add Elastic Clustering
This commit is contained in:
@@ -82,6 +82,7 @@ base:
|
|||||||
- elasticsearch.search
|
- elasticsearch.search
|
||||||
- global
|
- global
|
||||||
- minions.{{ grains.id }}
|
- minions.{{ grains.id }}
|
||||||
|
- data.nodestab
|
||||||
|
|
||||||
'*_import':
|
'*_import':
|
||||||
- zeeklogs
|
- zeeklogs
|
||||||
|
|||||||
@@ -43,6 +43,14 @@ node.name: {{ grains.host }}
|
|||||||
script.max_compilations_rate: 1000/1m
|
script.max_compilations_rate: 1000/1m
|
||||||
{%- if TRUECLUSTER is sameas true %}
|
{%- if TRUECLUSTER is sameas true %}
|
||||||
{%- if grains.role == 'so-manager' %}
|
{%- if grains.role == 'so-manager' %}
|
||||||
node.roles: [ master ]
|
{%- if salt['pillar.get']('nodestab', {}) %}
|
||||||
|
node.roles: [ master, remote_cluster_client ]
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- else %}
|
||||||
|
node.roles: [ data, ingest, ml ]
|
||||||
|
{%- endif %}
|
||||||
|
discovery.seed_hosts:
|
||||||
|
- {{ grains.master }}
|
||||||
|
cluster.initial_master_nodes:
|
||||||
|
- {{ grains.master }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user