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.
http://10.10.10.115:9200/
/
see the following section./
and receives a response like the following one:/_cat
the response will contain the /_cat/*
endpoints supported by the instance./_security/user
(if auth enabled) you can see which user has role superuser
.http://10.10.10.115:9200/_cat/indices?v
http://host:9200/<index>
from example in this case http://10.10.10.115:9200/bank
http://host:9200/<index>/_search?pretty=true
like http://10.10.10.115:9200/bank/_search?pretty=true
size
parameter: http://10.10.10.115:9200/quotes/_search?pretty=true&size=1000
asd
Note: If you indicate bigger number all the entries will be dumped anyway, for example you could indicate size=9999
and it will be weird if there were more entries (but you should check).http://host:9200/_search?pretty=true
like http://10.10.10.115:9200/_search?pretty=true
Remember that in this case the default limit of 10 results will be applied. You can use the size
parameter to dump a bigger amount of results. Read the previous section for more information.http://host:9200/_search?pretty=true&q=<search_term>
like in http://10.10.10.115:9200/_search?pretty=true&q=Rockwell
http://host:9200/<index>/_search?pretty=true&q=<search_term>
bookindex
with a document of type books
that has the attributes "bookId", "author", "publisher" and "name"port:9200 elasticsearch