Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elk查询删除索引 #1

Open
arsenalpoll opened this issue Apr 10, 2018 · 0 comments
Open

elk查询删除索引 #1

arsenalpoll opened this issue Apr 10, 2018 · 0 comments

Comments

@arsenalpoll
Copy link
Owner

arsenalpoll commented Apr 10, 2018

查询

curl -s -XGET http://127.0.0.1:9200/_cat/indices?v 
curl -s -XGET http://127.0.0.1:9200/_cat/indices?v | egrep  $logstash $logstash 为index索引名

删除

curl -XDELETE http://127.0.0.1:9200/$logstash-y-m-d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant