mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[cft] Enable verbose logging (#134262)
* [cft] Enable verbose logging * fix * fix merge
This commit is contained in:
parent
b06eee9355
commit
7f776252d9
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ if [ -z "${CLOUD_DEPLOYMENT_ID}" ]; then
|
|||
' .buildkite/scripts/steps/cloud/stack_monitoring.json > /tmp/stack_monitoring.json
|
||||
ecctl deployment update "$CLOUD_DEPLOYMENT_ID" --track --output json --file /tmp/stack_monitoring.json > "$JSON_FILE"
|
||||
echo "done"
|
||||
|
||||
echo -n "Enabling verbose logging..."
|
||||
ecctl deployment show "$CLOUD_DEPLOYMENT_ID" --generate-update-payload | jq '
|
||||
.resources.kibana[0].plan.kibana.user_settings_yaml = "logging.root.level: all"
|
||||
' > /tmp/verbose_logging.json
|
||||
ecctl deployment update "$CLOUD_DEPLOYMENT_ID" --track --output json --file /tmp/verbose_logging.json > "$JSON_FILE"
|
||||
echo "done"
|
||||
else
|
||||
ecctl deployment show "$CLOUD_DEPLOYMENT_ID" --generate-update-payload | jq '
|
||||
.resources.kibana[0].plan.kibana.docker_image = "'$KIBANA_CLOUD_IMAGE'" |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue