Elasticsearch is a distributed, open source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is the central component of the Elastic Stack, a set of open source tools for data ingestion, enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack (after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection of lightweight shipping agents known as Beats for sending data to Elasticsearch.
/see the following section.
/and receives a response like the following one:
/_security/user(if auth enabled) you can see which user has role
http://host:9200/<index>from example in this case
http://10.10.10.115:9200/quotes/_search?pretty=true&size=1000asd Note: If you indicate bigger number all the entries will be dumped anyway, for example you could indicate
size=9999and it will be weird if there were more entries (but you should check).
http://10.10.10.115:9200/_search?pretty=trueRemember that in this case the default limit of 10 results will be applied. You can use the
sizeparameter to dump a bigger amount of results. Read the previous section for more information.
bookindexwith a document of type
booksthat has the attributes "bookId", "author", "publisher" and "name"