es常用命令

查看索引

GET /_cat/indices

删除索引

# curl --cacert /data/apps/elasticsearch/certs/ca/ca.crt  -XDELETE  -u elastic https://172.16.3.9:9200/syslog-2023.04.12
Enter host password for user 'elastic':
{"acknowledged":true}

 

posted @ 2023-04-12 12:12  小吉猫  阅读(23)  评论(0编辑  收藏  举报