fix defaults for logstash

This commit is contained in:
Mike Reeves
2023-05-01 09:55:16 -04:00
parent e4375a6568
commit 38629a7676
5 changed files with 73 additions and 463 deletions
+5 -6
View File
@@ -163,12 +163,11 @@ function add_idh_to_minion() {
function add_logstash_to_minion() {
# Create the logstash advanced pillar
printf '%s\n'\
"logstash_settings:"\
" ls_host: '$LSHOSTNAME'"\
" ls_pipeline_batch_size: 125"\
" ls_input_threads: 1"\
" lsheap: $LSHEAP"\
" ls_pipeline_workers: $CPUCORES"\
"logstash:"\
" config:"\
" pipeline_x_workers: $CPUCORES"\
" settings:"\
" lsheap: $LSHEAP"\
" " >> $PILLARFILE
}