# \[ANN\] 'elsec', Elasticsearch interactive command line client

**URL:** <https://discuss.elastic.co/t/ann-elsec-elasticsearch-interactive-command-line-client/11707>\
**Category:** Elasticsearch\
**Created:** [April 26, 2013, 5:09pm UTC](https://discuss.elastic.co/t/ann-elsec-elasticsearch-interactive-command-line-client/11707 "2013-04-26T17:09:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikolaj\_Kocikowski](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Mikolaj\_Kocikowski](https://discuss.elastic.co/u/Mikolaj_Kocikowski)\
**Post date:** [April 26, 2013, 5:09pm UTC](https://discuss.elastic.co/t/ann-elsec-elasticsearch-interactive-command-line-client/11707/1 "2013-04-26T17:09:31Z")

</div>

See [https://github.com/mkocikowski/elsec](https://github.com/mkocikowski/elsec)

The goal of the project is to provide an easy to use, interactive command  
line (terminal) client to Elasticsearch, with behavior similar to 'mysql'  
or 'psql' clients. The tool is to give a safe (read-only) way to explore  
data in ES indices, addressing use cases common among non-technical,  
non-administrator users. Anyone capable of using the mysql client to dig  
around a mysql database should be able to use the 'elsec' to look at data  
in an ES index.

The basic use case is to execute 'search' or 'count' requests based on  
Lucene query strings entered on the command line. Tab completion of field  
names is available, based on index mappings.

All requests are echoed as curl calls, and so can easily be copied and  
executed outside the client (for debugging? sharing?) Any valid  
Elasticsearch search or count request can also be pasted into the client  
and executed (this is how you do complex queries).

This tool is not intended to be an admin interface, or a complex query  
builder. It is to be quick to learn and safe and easy to use, more of a  
spoon than a swiss army knife.

We've had this under review for about a month now, and it has been used by  
various members of the San Francisco Elasticsearch meetup, so it is  
relatively safe for human consumption. Please report any issues on the  
github page.

Thank you, Mik.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:39am UTC](https://discuss.elastic.co/t/ann-elsec-elasticsearch-interactive-command-line-client/11707/2 "2017-07-06T02:39:28Z")

</div>


