Elasticsearch list all rivers


As I list all the rivers in Elasticsearch, I am new to this and add rivers on the fly and I want to do a cleanup. The official documentation does not mention a way to do this.

+4
source share
2 answers

I think this will do the trick for you, since it _riveris an index, like any other, that can be requested as one. -

curl -XGET http://localhost:9200/_river/_search?q=*
+7
source

To answer Nate's answer, if you drop the following line into the browser, you will get output that is really readable (note the added "pretty" parameter):

http://localhost:9200/_river/_search?q=*&pretty
+2
source

Source: https://habr.com/ru/post/1523294/


All Articles