mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Add missing single quote for Elastic Agent Elasticsearch output
This commit is contained in:
@@ -21,7 +21,7 @@ printf "\n\n"
|
|||||||
|
|
||||||
{% if grains.role == 'so-import' %}
|
{% if grains.role == 'so-import' %}
|
||||||
# Add SO-Manager Elasticsearch Ouput
|
# Add SO-Manager Elasticsearch Ouput
|
||||||
curl -K /opt/so/conf/elasticsearch/curl.config -L -X POST "localhost:5601/api/fleet/outputs" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"name":"so-manager_elasticsearch","id":"so-manager_elasticsearch","type":"elasticsearch","hosts":["https://{{ GLOBALS.manager_ip }}:9200"],"is_default":true,"is_default_monitoring":true,"config_yaml":"","ssl":{"certificate_authorities":[ "/etc/pki/ca.crt" ]}}
|
curl -K /opt/so/conf/elasticsearch/curl.config -L -X POST "localhost:5601/api/fleet/outputs" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"name":"so-manager_elasticsearch","id":"so-manager_elasticsearch","type":"elasticsearch","hosts":["https://{{ GLOBALS.manager_ip }}:9200"],"is_default":true,"is_default_monitoring":true,"config_yaml":"","ssl":{"certificate_authorities":[ "/etc/pki/ca.crt" ]}}'
|
||||||
printf "\n\n"
|
printf "\n\n"
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -580,7 +580,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
title "Setting up Elastic Fleet"
|
title "Setting up Elastic Fleet"
|
||||||
logCmd "so-elastic-fleet-setup"
|
logCmd "so-elastic-fleet-setup"
|
||||||
if [[ ! $is_import ]]; then
|
if [[ ! $is_import ]]; then
|
||||||
title "Setting up Playbook"
|
title "Setting up Playbook"
|
||||||
logCmd "so-playbook-reset"
|
logCmd "so-playbook-reset"
|
||||||
fi
|
fi
|
||||||
checkin_at_boot
|
checkin_at_boot
|
||||||
|
|||||||
Reference in New Issue
Block a user