From 2443e8b97e0a1ad2691f312e66541e10de2f2673 Mon Sep 17 00:00:00 2001 From: weslambert Date: Thu, 14 Jul 2022 12:04:56 -0400 Subject: [PATCH] Change web_response to evaluate the response from the Spaces API and the default space query --- salt/common/tools/sbin/so-kibana-space-defaults | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-kibana-space-defaults b/salt/common/tools/sbin/so-kibana-space-defaults index 53c692a51..b52e609dc 100755 --- a/salt/common/tools/sbin/so-kibana-space-defaults +++ b/salt/common/tools/sbin/so-kibana-space-defaults @@ -1,7 +1,7 @@ #!/bin/bash . /usr/sbin/so-common {% set HIGHLANDER = salt['pillar.get']('global:highlander', False) %} -wait_for_web_response "http://localhost:5601/app/kibana" "Elastic" 300 "{{ ELASTICCURL }}" +wait_for_web_response "http://localhost:5601/api/spaces/space/default" "default" 300 "{{ ELASTICCURL }}" ## This hackery will be removed if using Elastic Auth ## # Let's snag a cookie from Kibana