Reader small image

You're reading from  Kibana 8.x – A Quick Start Guide to Data Analysis

Product typeBook
Published inFeb 2024
PublisherPackt
ISBN-139781803232164
Edition1st Edition
Right arrow
Author (1)
Krishna Shah
Krishna Shah
author image
Krishna Shah

Krishna Shah is a data architect from Melbourne, Australia with 9+ years of experience, and she knows how to make data work. She's been an official trainer for Elasticsearch and Kibana, crafting the courses that empower people to unlock the secrets of data. Prior to that, she worked for a start-up in India as the data engineer behind building and maintaining data engineering pipelines, then transforming that raw information into stunning visuals and insights using Kibana and other data engineering technologies. Today, she's an advocate, a mentor, and a bridge-builder, inviting everyone to find their own rhythm in the data's dance. Whether you're a novice or seasoned analyst, brace yourself for her infectious enthusiasm and knack for making the driest of datasets sing!
Read more about Krishna Shah

Right arrow

Understanding how ES|QL works

The query language works fundamentally through a source command, and it can be followed by (optional) commands called processing commands. They are separated by a pipe (|); hence, ES|QL is also referred to as Elastic’s piped query language. The source command results into a table formation from the data in Elasticsearch, as shown in the following figure:

Figure 9.1 – The source command concept in Elasticsearch

Figure 9.1 – The source command concept in Elasticsearch

Three different source commands that are supported, which are FROM, ROW, and SHOW.

Here’s a simple example of how ES|QL works. Imagine you have an index named products that contains product data, and you want to find all products with a price above $50.

With ES|QL, you could write the following query:

FROM products WHERE price > 50;

This query looks just like a standard SQL query, but ES|QL translates it into Elasticsearch’s query language, retrieving the desired results. Refer...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Kibana 8.x – A Quick Start Guide to Data Analysis
Published in: Feb 2024Publisher: PacktISBN-13: 9781803232164

Author (1)

author image
Krishna Shah

Krishna Shah is a data architect from Melbourne, Australia with 9+ years of experience, and she knows how to make data work. She's been an official trainer for Elasticsearch and Kibana, crafting the courses that empower people to unlock the secrets of data. Prior to that, she worked for a start-up in India as the data engineer behind building and maintaining data engineering pipelines, then transforming that raw information into stunning visuals and insights using Kibana and other data engineering technologies. Today, she's an advocate, a mentor, and a bridge-builder, inviting everyone to find their own rhythm in the data's dance. Whether you're a novice or seasoned analyst, brace yourself for her infectious enthusiasm and knack for making the driest of datasets sing!
Read more about Krishna Shah