Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch list all rivers


How do I list all the rivers in Elasticsearch, I'm new to it and was adding rivers on the fly and I want to do some cleaning. The official documentation doesn't mention a way to do so..

like image 520
Aysennoussi Avatar asked Dec 25 '22 14:12

Aysennoussi


1 Answers

I think this will do the trick for you, as _river is an index like any other it can be queried like one. -

curl -XGET http://localhost:9200/_river/_search?q=*
like image 199
Nathan Smith Avatar answered Jan 09 '23 22:01

Nathan Smith