清理:
[root@es-master21 mnt]# curl -XGET 'http://127.0.0.1:9200/_cat/indices/?v' health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .apm-custom-link 8a6wk7pHROKgwXGi6AC5qw 1 1 0 0 416b 208b green open .kibana_task_manager_1 QSwMckcnQGqQ1VBu9VoGqQ 1 1 5 29717 5.4mb 3.1mb green open .apm-agent-configuration QaUuvy0CRXmkDBTDylruZw 1 1 0 0 416b 208b green open .kibana-event-log-7.10.1-000001 Be2HT5TDRn-55XNyl2SoWQ 1 1 1 0 11.2kb 5.6kb green open .async-search -Z9szt_0SS27XcgqCQ_izw 1 1 0 0 3.6kb 3.4kb green open .kibana_1 WQNHPGflQMutcLMi6m8Yew 1 1 26 3 4.2mb 2.1mb green open logstash-2021.12.27-000001 Z4qdF7a1SPOANFrB4mAmBQ 1 1 768167 0 182.2mb 91.5mb [root@es-master21 mnt]# curl -XDELETE 'http://127.0.0.1:9200/logstash-2021.12.27-000001*' {"acknowledged":true} [root@es-master21 mnt]# curl -XGET 'http://127.0.0.1:9200/_cat/indices/?v' health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open .apm-custom-link 8a6wk7pHROKgwXGi6AC5qw 1 1 0 0 416b 208b green open .kibana_task_manager_1 QSwMckcnQGqQ1VBu9VoGqQ 1 1 5 29738 5.5mb 3.1mb green open .apm-agent-configuration QaUuvy0CRXmkDBTDylruZw 1 1 0 0 416b 208b green open .kibana-event-log-7.10.1-000001 Be2HT5TDRn-55XNyl2SoWQ 1 1 1 0 11.2kb 5.6kb green open .async-search -Z9szt_0SS27XcgqCQ_izw 1 1 0 0 3.6kb 3.4kb green open .kibana_1 WQNHPGflQMutcLMi6m8Yew 1 1 26 3 4.2mb 2.1mb