https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
A sandbox for all things ELK Stack, will run in containers using Docker.
docker compose up
then go to:
http://localhost:5601/app/dev_tools#/console
PUT /products GET /products GET products/_search
POST /products/_doc { "name":"My second product", "cost": 10.99 }
POST /products/_doc/200 { "name":"My product with ID specified", "cost": 11.99 }
POST /products/_update/200 { "doc": { "cost": 100.99 } }
PUT /products/_doc/200 { "name":"Updated product name with PUT", "cost": 111.99 }
GET /products/_doc/200
GET /_cluster/health
GET _search { "query": { "match_all": {} } }
POST products/_doc { "name": "Some new product", "cost": "93.45" }
GET products/_search { "query": { "match": { "id": "5n7dGH8Bjf0YjDalpK6" } } }
GET products/_search { "query": { "range": { "cost": { "gte": 8.00 } } } }
GET products/_search { "aggs": { "cost aggrigation": { "sum": { "field": "cost" } } } }