Created
May 17, 2017 14:50
-
-
Save portante/f0eed406c03e27da47a5fbd3c5cde70f to your computer and use it in GitHub Desktop.
A simple script to delete the openshift .kibana.* user indices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ES_URL='https://localhost:9200' | |
| curl_del='curl -s -X DELETE --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key' | |
| $curl_del $ES_URL/.kibana.\* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment