making / jaguchi-manifests

1 stars 11 forks source link

AlanaはElasticsearchをハウスキーピングしたい #15

Closed making closed 2 years ago

making commented 2 years ago

Why

image image

Notes:

curatorを使う。

making commented 2 years ago

https://github.com/tanzu-japan/jaguchi-manifests/commit/777b471e952e5c563f3e9065e86d595280638ceb でcurator cronjobを追加

$ kubectl get cronjob -n elastic-stack
NAME      SCHEDULE      SUSPEND   ACTIVE   LAST SCHEDULE   AGE
curator   10 15 * * *   False     0        <none>          11m
making commented 2 years ago
kubectl create job -n elastic-stack curator-test-run --from=cronjob/curator
$ kubectl logs -n elastic-stack job/curator-test-run 
/opt/bitnami/python/lib/python3.9/site-packages/elasticsearch_curator-5.8.4-py3.9.egg/curator/actions.py:151: SyntaxWarning: "is" with a literal. Did you mean "=="?
/opt/bitnami/python/lib/python3.9/site-packages/elasticsearch_curator-5.8.4-py3.9.egg/curator/actions.py:151: SyntaxWarning: "is" with a literal. Did you mean "=="?
2022-05-26 16:41:26,217 INFO      Preparing Action ID: 1, "delete_indices"
2022-05-26 16:41:26,217 INFO      Creating client object and testing connection
2022-05-26 16:41:26,220 INFO      Instantiating client object
/opt/bitnami/python/lib/python3.9/site-packages/elasticsearch/connection/http_requests.py:139: UserWarning: Connecting to https://elasticsearch-es-http.elastic-stack.svc.cluster.local:9200 using SSL with verify_certs=False is insecure.
  warnings.warn(
2022-05-26 16:41:26,221 INFO      Testing client connectivity
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:26,682 INFO      Successfully created Elasticsearch client object with provided settings
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:26,685 INFO      Trying Action ID: 1, "delete_indices": Delete indices older than 7 days (based on index name), for logstash- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly.
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/elasticsearch/connection/base.py:200: ElasticsearchWarning: this request accesses system indices: [.apm-agent-configuration, .apm-custom-link, .async-search, .fleet-enrollment-api-keys-7, .fleet-policies-7, .kibana_7.17.3_001, .kibana_task_manager_7.17.3_001, .security-7, .tasks], but in a future major version, direct access to system indices will be prevented by default
  warnings.warn(message, category=ElasticsearchWarning)
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:27,294 INFO      Deleting 1 selected indices: ['logstash-2022.05.19']
2022-05-26 16:41:27,294 INFO      ---deleting index logstash-2022.05.19
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:27,398 INFO      Action ID: 1, "delete_indices" completed.
2022-05-26 16:41:27,398 INFO      Preparing Action ID: 2, "delete_indices"
2022-05-26 16:41:27,398 INFO      Creating client object and testing connection
2022-05-26 16:41:27,399 INFO      Instantiating client object
2022-05-26 16:41:27,399 INFO      Testing client connectivity
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:27,860 INFO      Successfully created Elasticsearch client object with provided settings
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:27,863 INFO      Trying Action ID: 2, "delete_indices": Delete indices older than 2 days (based on index name), for zipkin-span- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly.
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:28,248 INFO      Skipping action "delete_indices" due to empty list: <class 'curator.exceptions.NoIndices'>
2022-05-26 16:41:28,249 INFO      Action ID: 2, "delete_indices" completed.
2022-05-26 16:41:28,249 INFO      Preparing Action ID: 3, "delete_indices"
2022-05-26 16:41:28,249 INFO      Creating client object and testing connection
2022-05-26 16:41:28,249 INFO      Instantiating client object
2022-05-26 16:41:28,250 INFO      Testing client connectivity
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:28,502 INFO      Successfully created Elasticsearch client object with provided settings
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:28,507 INFO      Trying Action ID: 3, "delete_indices": Delete indices older than 2 days (based on index name), for zipkin-dependency- prefixed indices. Ignore the error if the filter does not result in an actionable list of indices (ignore_empty_list) and exit cleanly.
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:29,330 INFO      Skipping action "delete_indices" due to empty list: <class 'curator.exceptions.NoIndices'>
2022-05-26 16:41:29,331 INFO      Action ID: 3, "delete_indices" completed.
2022-05-26 16:41:29,331 INFO      Preparing Action ID: 4, "delete_indices"
2022-05-26 16:41:29,331 INFO      Creating client object and testing connection
2022-05-26 16:41:29,332 INFO      Instantiating client object
2022-05-26 16:41:29,332 INFO      Testing client connectivity
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:29,790 INFO      Successfully created Elasticsearch client object with provided settings
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:29,794 INFO      Trying Action ID: 4, "delete_indices": Delete .monitoring-es-7-yyyy.mm.dd
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:30,238 INFO      Deleting 7 selected indices: ['.monitoring-es-7-2022.05.23', '.monitoring-es-7-2022.05.25', '.monitoring-es-7-2022.05.24', '.monitoring-es-7-2022.05.20', '.monitoring-es-7-2022.05.19', '.monitoring-es-7-2022.05.21', '.monitoring-es-7-2022.05.22']
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.23
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.25
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.24
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.20
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.19
2022-05-26 16:41:30,238 INFO      ---deleting index .monitoring-es-7-2022.05.21
2022-05-26 16:41:30,239 INFO      ---deleting index .monitoring-es-7-2022.05.22
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:30,501 INFO      Action ID: 4, "delete_indices" completed.
2022-05-26 16:41:30,501 INFO      Preparing Action ID: 5, "delete_indices"
2022-05-26 16:41:30,502 INFO      Creating client object and testing connection
2022-05-26 16:41:30,502 INFO      Instantiating client object
2022-05-26 16:41:30,502 INFO      Testing client connectivity
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:30,958 INFO      Successfully created Elasticsearch client object with provided settings
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:30,962 INFO      Trying Action ID: 5, "delete_indices": Delete .monitoring-kibana-7-yyyy.mm.dd
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:31,272 INFO      Deleting 7 selected indices: ['.monitoring-kibana-7-2022.05.23', '.monitoring-kibana-7-2022.05.19', '.monitoring-kibana-7-2022.05.25', '.monitoring-kibana-7-2022.05.24', '.monitoring-kibana-7-2022.05.20', '.monitoring-kibana-7-2022.05.21', '.monitoring-kibana-7-2022.05.22']
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.23
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.19
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.25
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.24
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.20
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.21
2022-05-26 16:41:31,272 INFO      ---deleting index .monitoring-kibana-7-2022.05.22
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
/opt/bitnami/python/lib/python3.9/site-packages/urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 'elasticsearch-es-http.elastic-stack.svc.cluster.local'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  warnings.warn(
2022-05-26 16:41:31,473 INFO      Action ID: 5, "delete_indices" completed.
2022-05-26 16:41:31,473 INFO      Job completed.
making commented 2 years ago
image