Skip to content

Commit

Permalink
Revised Kibana content to use new KUBE_EVENT mappings; updated deploy…
Browse files Browse the repository at this point in the history
… script to use new content
  • Loading branch information
gsmith-sas committed Sep 16, 2020
1 parent 2f42d77 commit 19d5881
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
2 changes: 1 addition & 1 deletion logging/bin/deploy_logging_open.sh
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ else
fi

# Import Kibana Searches, Visualizations and Dashboard Objects using curl
response=$(curl -s -o /dev/null -w "%{http_code}" -XPOST "$KB_CURL_PROTOCOL://localhost:$TEMP_PORT/api/saved_objects/_import?overwrite=true" -H "kbn-xsrf: true" --form file=@logging/kibana/kibana_saved_objects_7.6.1_200807.ndjson --user $ES_ADMIN_USER:$ES_ADMIN_PASSWD --insecure )
response=$(curl -s -o /dev/null -w "%{http_code}" -XPOST "$KB_CURL_PROTOCOL://localhost:$TEMP_PORT/api/saved_objects/_import?overwrite=true" -H "kbn-xsrf: true" --form file=@logging/kibana/kibana_saved_objects_7.6.1_200915.ndjson --user $ES_ADMIN_USER:$ES_ADMIN_PASSWD --insecure )

# TO DO/CHECK: this should return a SUCCESS message like this: {"success":true,"successCount":20}
if [[ $response != 2* ]]; then
Expand Down
Loading

0 comments on commit 19d5881

Please sign in to comment.