Skip to content

Instantly share code, notes, and snippets.

@portante
Created May 17, 2017 14:50
Show Gist options
  • Select an option

  • Save portante/f0eed406c03e27da47a5fbd3c5cde70f to your computer and use it in GitHub Desktop.

Select an option

Save portante/f0eed406c03e27da47a5fbd3c5cde70f to your computer and use it in GitHub Desktop.
A simple script to delete the openshift .kibana.* user indices
#!/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