Cheetsheet

Prerequisite

Installation

  1. Download ElasticSearch docker image.

    $ docker pull docker.elastic.co/elasticsearch/elasticsearch:7.6.2
  2. Launch the local cluster with 3 nodes using docker compose.

    $ docker-compose up
  3. Prepare the Cheetsheet sample installer.

    $ pipenv install --dev
  4. Run the Cheetsheet sample installer and populate the local ElasticSearch cluster.

    $ pipenv run python install.py samples
  5. Verify the installation using simple Elastic query.

    • Check cluster health.
    $ curl http://localhost:9200/
    • Dump a few samples.
    $ curl http://localhost:9200/_search\?