mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 22:12:48 +01:00
ES salt module - added pillar items for ES
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
# Example Pillar file for a sensor
|
# Example Pillar file for a master
|
||||||
master:
|
master:
|
||||||
interface: CHANGEME
|
esaccessip: CHANGEME
|
||||||
lbprocs: CHANGEME
|
esheap: CHANGEME
|
||||||
|
esclustername: CHANGEME
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ so-elasticsearch:
|
|||||||
dockerng.running:
|
dockerng.running:
|
||||||
- image: pillaritem/so-logstash
|
- image: pillaritem/so-logstash
|
||||||
- hostname: elasticsearch
|
- hostname: elasticsearch
|
||||||
- user:
|
- user: elasticsearch
|
||||||
- environment:
|
- environment:
|
||||||
- bootstrap.memory_lock=true
|
- bootstrap.memory_lock=true
|
||||||
- cluster.name={{ grains.host }}
|
- cluster.name={{ esclustername }}
|
||||||
- ES_JAVA_OPTS="-Xms$ELASTICSEARCH_HEAP -Xmx$ELASTICSEARCH_HEAP"
|
- ES_JAVA_OPTS="-Xms{{ esheap }} -Xmx{{ esheap }}"
|
||||||
- http.host=0.0.0.0
|
- http.host=0.0.0.0
|
||||||
- transport.host=127.0.0.1
|
- transport.host=127.0.0.1
|
||||||
- ulimits:
|
- ulimits:
|
||||||
@@ -15,8 +15,8 @@ so-elasticsearch:
|
|||||||
- nofile=65536:65536
|
- nofile=65536:65536
|
||||||
- nproc=4096
|
- nproc=4096
|
||||||
- port_bindings:
|
- port_bindings:
|
||||||
- 9200
|
- {{ esaccessip }}:9200:9200
|
||||||
- 9300
|
- {{ esaccessip }}:9300:9300
|
||||||
- binds:
|
- binds:
|
||||||
- /opt/so/conf/logstash/log4j2.properties:/usr/share/logstash/config/log4j2.properties:ro
|
- /opt/so/conf/logstash/log4j2.properties:/usr/share/logstash/config/log4j2.properties:ro
|
||||||
- /opt/so/conf/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
- /opt/so/conf/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user