- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

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.

Lab 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.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.