- Lab
- A Cloud Guru
Asynchronously Searching in Elasticsearch 7.13
Occasionally, we need to ask data questions that may take some time to answer. In these situations, it is beneficial to have the option of executing said query asynchronously. In this hands-on lab, you will get to execute and manage asynchronous search queries in Elasticsearch.
Path Info
Table of Contents
-
Challenge
Create the Asynchronous Search
- From the Kibana console, craft an async search query on the
filebeat-7.13.4
dataset to search log messages for any mention of SSH. - The async search should have the
wait_for_completion_timeout
parameter set to0
. - The async search should return a hits array size of
100
.
- From the Kibana console, craft an async search query on the
-
Challenge
Check the Status of the Asynchronous Search
From the Kibana console, use the async search ID to get the status of the request.
Note: If you did not get an async search ID, then make sure you set the
wait_for_completion_timeout
parameter to0
when creating the async search. -
Challenge
Get the Results of the Asynchronous Search
From the Kibana console, use the async search ID to get the results of the request.
Note: If you did not get an async search ID, then make sure you set the
wait_for_completion_timeout
parameter to0
when creating the async search. -
Challenge
Delete the Asynchronous Search
From the Kibana console, use the async search ID to delete the request.
Note: If you did not get an async search ID, then make sure you set the
wait_for_completion_timeout
parameter to0
when creating the async search.
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.