🏡 Home 👉 Next

⚡  ElasticsearchBook.com is crafted by Jozef Sorocin and powered by:

Chapter Structure

Each chapter is dedicated to a separate topic and was put together such that it can be read on its own. At the same time, the chapters often reference one another, esp. in contexts where backlinks are educative.

Each subchapter starts with a brief summary of what falls into the given category, followed by a description of the challenges that people usually face. Next, the I present one or two real-world use cases and an approach I'd take to solve them. Tips 💡, key pieces of information 🔑, and caveats ⚠️ are scattered throughout the text.

Kibana

Since Elasticsearch is essentially a JSON-in/JSON-out server, all communication with it is performed through HTTP(S) — a cURL request at the very least. Using cURL is perfectly fine for those of us who live in the terminal but the rest of us either use Postman/Insomnia or Kibana.

Using the Kibana Console

Most code snippets in this handbook are ready to be copy-pasted into the Kibana Dev Tools Console:

Older version of Kibana

Older version of Kibana

Newer version of Kibana

Newer version of Kibana

After pasting, the queries can be run using cmd/ctrl + enter and prettified / compacted using cmd/ctrl + i.

The 🔧 icon can:

  1. take you to the official documentation based on the currently entered endpoint
  2. but also convert the Kibana DSL (domain-specific language) statements into a raw cURL request.

Working with Kibana in combination with the Chrome Dev Tools is a great time-saver.

Triple Quotes in JSON?