set esheapsize and filebeat config for import node

This commit is contained in:
m0duspwnens
2020-08-12 10:39:31 -04:00
parent 5a0df27193
commit 0f53b4d703
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ filebeat.modules:
# List of prospectors to fetch data.
filebeat.inputs:
#------------------------------ Log prospector --------------------------------
{%- if grains['role'] == 'so-sensor' or grains['role'] == "so-eval" or grains['role'] == "so-helix" or grains['role'] == "so-heavynode" or grains['role'] == "so-standalone" %}
{%- if grains['role'] in ['so-sensor', "so-eval", "so-helix", "so-heavynode", "so-standalone", "so-import"] %}
- type: udp
enabled: true
host: "0.0.0.0:514"
@@ -253,7 +253,7 @@ output.{{ type }}:
{%- endfor %}
{%- else %}
#----------------------------- Elasticsearch/Logstash output ---------------------------------
{%- if grains['role'] == "so-eval" %}
{%- if grains['role'] in ["so-eval", "so-import"] %}
output.elasticsearch:
enabled: true
hosts: ["{{ MANAGER }}:9200"]

View File

@@ -279,7 +279,7 @@ if [[ $is_helix || $is_manager || $is_import ]]; then
whiptail_homenet_manager
fi
if [[ $is_helix || $is_manager || $is_node ]]; then
if [[ $is_helix || $is_manager || $is_node || $is_import ]]; then
set_base_heapsizes
fi