# aws
aerolab cluster create -c 2 -I t3a.medium -n mycluster
# docker
aerolab cluster create -c 2 -n mycluster
# aws
aerolab client create elasticsearch -c 2 -I t3a.large -n myes
# docker - limit each ES node to 4g ram
aerolab client create elasticsearch -c 2 -r 4 -n myes
aerolab xdr connect -S mycluster -D myes -c
aerolab data insert -n mycluster -a 1 -z 2000
Query Elasticsearch:
aerolab client list
to get your Elasticsearch server’s IP address.9200
in your browser to explore the data from Elasticsearch.For best results, use the FireFox web browser. It has a built-in JSON format explorer, as well as support for self-signed certificates once the warning is acknowledged.
Example URLs:
https://ELASTICIP:9200/test/_search
https://ELASTICIP:9200/test/_search?size=1000
mybin
has value binvalue
: https://ELASTICIP:9200/test/_search?q=mybin:binvalue
myset
: https://ELASTICIP:9200/test/_search?size=1000&q=metadata.set:myset
Replace ELASTICIP
with the IP address of your Elasticsearch server.