Created
April 20, 2018 18:07
-
-
Save portante/15d4c354ccf63993d5f634528fd23cba to your computer and use it in GitHub Desktop.
A simple script to fetch the list of pending tasks from Elasticsearch as deployed in OCP Aggregated Logging.
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_get='curl -s -X GET --cacert /etc/elasticsearch/secret/admin-ca --cert /etc/elasticsearch/secret/admin-cert --key /etc/elasticsearch/secret/admin-key' | |
date | |
$curl_get $ES_URL/_cluster/pending_tasks?pretty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment