{"repo":"cyborgize/es-cli","free":true,"listed":false,"github":"https://github.com/cyborgize/es-cli","clone":"git clone https://github.com/cyborgize/es-cli.git","description":"Command-line client for Elasticsearch written in OCaml","language":"OCaml","stars":36,"topics":["ocaml","elasticsearch","es-cli","cli","terminal"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"elasticsearch-cli — Command-line client for Elasticsearch This project provides a command line tool to query ElasticSearch clusters. Installation elasticsearch-cli can be installed with opam : opam install elasticsearch-cli Getting help Show known commands or just Show man page for a command for example: Configuration file The tool will look for a configuration file $XDG HOME CONFIG/es-cli/config.json when started ( $XDG HOME CONFIG will be usually /.config ; see XDG Base Directory Specification for more details). Cluster aliases It is possible to use alias names instead of full host names. show health for cluster1.mydomain.com show health for all configured clusters search in cluster2.mydomain.com find missing nodes in cluster2 Note this command relies on the nodes parameter in the configuration file. Command aliases Pause shard allocation Resume shard allocation Search documents Search the index myindex for documents containing \"Hello world!\" in the title field. Return fields field1 and field2 of the document with the most recent value of the updated at field: Search the index myindex for documents containing 12345 in the field1 field. Return 10 documents' sources, omitting the boringfield field. Show the number of documents in the index myindex with field field1 value greater or equal to 10: NOTE: ES 7.x and above will not return exact document count by default. Use -c -C true to print the exact value. Count documents Count documents containing \"Hello world!\" in the title ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cyborgize","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cyborgize/es-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}