- Lab
- A Cloud Guru
Combining Queries with Compound Searching in Elasticsearch 7.13
For more complicated queries, you need to be able to combine many different search functions together. You can do this with compound search functions in Elasticsearch. In this hands-on lab, you will leverage compound search functions and boolean logic to write and combine term-level and full-text queries into a single search request.
Path Info
Table of Contents
-
Challenge
Craft a Query That Answers the Question: How Many Web Requests Originate from Either US or CN Where the Response Was Not 200?
From the Kibana console, craft a compound query on the
logs
dataset that answers the question. -
Challenge
Craft a Query That Answers the Question: How Many Web Requests with a 200 Response and at Least 2 Tags with 'success', 'security', or 'info' Value Are Not from a Machine with a Windows Operating System?
From the Kibana console, craft a compound query on the
logs
dataset that answers the question. -
Challenge
Craft a Query That Answers the Question: How Many Web Requests Were Made for apm-server RPM or DEB Files by Users Using an OS X Operating System?
From the Kibana console, craft a compound query on the
logs
dataset that answers the question. Filter down the results to only include files between1024
and8192
bytes without effecting relevancy scoring.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.