mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Change Logic for logstash
This commit is contained in:
@@ -1013,14 +1013,17 @@ node_pillar() {
|
|||||||
" es_port: $node_es_port"\
|
" es_port: $node_es_port"\
|
||||||
" log_size_limit: $log_size_limit"\
|
" log_size_limit: $log_size_limit"\
|
||||||
" cur_close_days: $CURCLOSEDAYS"\
|
" cur_close_days: $CURCLOSEDAYS"\
|
||||||
if [ "$install_type" != 'EVAL' ] || [ "$install_type" != 'HELIXSENSOR' ] || [ "$install_type" != 'MASTERSEARCH' ] || [ "$install_type" != 'STANDALONE' ]; then
|
"" >> "$pillar_file"
|
||||||
|
|
||||||
|
if [ "$install_type" != 'EVAL' ] && [ "$install_type" != 'HELIXSENSOR' ] && [ "$install_type" != 'MASTERSEARCH' ] && [ "$install_type" != 'STANDALONE' ]; then
|
||||||
|
printf '%s\n'\
|
||||||
"logstash_settings:"\
|
"logstash_settings:"\
|
||||||
" ls_pipeline_batch_size: $LSPIPELINEBATCH"\
|
" ls_pipeline_batch_size: $LSPIPELINEBATCH"\
|
||||||
" ls_input_threads: $LSINPUTTHREADS"\
|
" ls_input_threads: $LSINPUTTHREADS"\
|
||||||
" ls_batch_count: $LSINPUTBATCHCOUNT"\
|
" ls_batch_count: $LSINPUTBATCHCOUNT"\
|
||||||
" lsheap: $NODE_LS_HEAP_SIZE"\
|
" lsheap: $NODE_LS_HEAP_SIZE"\
|
||||||
fi
|
|
||||||
"" >> "$pillar_file"
|
"" >> "$pillar_file"
|
||||||
|
fi
|
||||||
|
|
||||||
printf '%s\n' '----' >> "$setup_log" 2>&1
|
printf '%s\n' '----' >> "$setup_log" 2>&1
|
||||||
cat "$pillar_file" >> "$setup_log" 2>&1
|
cat "$pillar_file" >> "$setup_log" 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user