The document provides an overview of the Elastic Stack, including Elasticsearch and Kibana. It discusses how Elasticsearch can reliably store and search data from any source in real time. It then covers basic concepts like shards and replicas that improve Elasticsearch's performance and reliability at scale. The document demonstrates how to perform CRUD operations with Elasticsearch and Kibana and provides additional learning resources for users who want to continue learning about the Elastic Stack.
14. @LisaHJung|Beginner’s Crash Course to Elastic Stack
By the end of this workshop, you will be able to:
● understand a use case of Elasticsearch and Kibana
● understand the basic architecture of Elasticsearch
● Perform CRUD(Create, Read, Update, Delete) operations with
Elasticsearch and Kibana
17. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Find me a hot sauce named
uh… I think it is spelled
Sriracha? Maybe it’s spelled
Srirracah? Srirracha?
Find me a list of peanut butter brands. I
want the highest rated brands at the top.
22. @LisaHJung|Beginner’s Crash Course to Elastic Stack
By the end of this workshop, you will be able to:
● understand a use case of Elasticsearch and Kibana
● understand the basic architecture of Elasticsearch
● Perform CRUD(Create, Read, Update, Delete) operations with
Elasticsearch and Kibana
24. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Hi! I am a node. I
am an instance of
Elasticsearch.
Node-1
I have a unique id
and a name!
I belong to a
single cluster!
Cluster
28. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Data is stored as documents in Elasticsearch!
I am a document, a JSON object
that is stored in Elasticsearch
under a unique ID!
30. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-1 Node-2 Node-3
Produce Index
Wine and beer Index
P0
P0
Hi! I am a shard. I
hold documents
related to
produce!
Hi! I am a shard
too. I hold
documents
related to wine
and beer!
What is a shard?
31. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-1 Node-2 Node-3
Produce Index
Wine and beer Index
P0
P0
What is sharding?
P1 P2
P1 P2
32. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Client
Cluster
Node-1 Node-2 Node-3
Produce Index
P0
What is sharding?
I want to
index 600K
documents
about
produce in
my cluster
Dang it! I can
only hold 200K
documents!
P1 P2
I can hold
200K
documents!
I can hold
200K
documents!
33. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-1
P0
What is sharding?
P1
Node-2
Produce Index
P2
Node-3
P3
Node-4
P4
Node-5
P5
Node-6 Node-7
P6
34. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Client
Cluster
Node-1
Produce Index
P0
What is sharding?
I want to
find pink
lady
apples!
I can hold the
entire produce
index of 500K
documents.
It took me 10
seconds to
search
through 500K
documents!
35. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-1
P0
Sharding speeds up your search!
Produce Index
P1 P2 P3 P4 P5 P6 P7 P8 P9
Node-2 Node-3 Node-4 Node-5 Node-6 Node-7 Node-8 Node-10
Node-9
50K 50K 50K 50K 50K 50K 50K 50K 50K 50K
keeps track of 500K produce documents
Running a search on 50K
documents takes 1 sec!
We can search through 500K
documents in 1 second! ⚡
36. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Client
Cluster
Node-1
Produce Index
P0
What is sharding?
I want to
find pink
lady
apples!
I can search
through of 500K
documents in 10
seconds..
37. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-1
P0
Sharding speeds up your search!
Produce Index
P1 P2 P3 P4 P5 P7 P8 P9
Node-2 Node-3 Node-4 Node-5 Node-6 Node-7 Node-8 Node-10
Node-9
50K 50K 50K 50K 50K 50K 50K 50K 50K 50K
P6
We can search through 500K
documents in 1 second! ⚡
39. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-2 Node-3 Node-4
What are replica shards?
P1 R1
Node-1
R0
Produce Index
P0
40. @LisaHJung|Beginner’s Crash Course to Elastic Stack
Cluster
Node-2 Node-3 Node-4
P0
Replica shards can improve the performance of your
search
P1 R1
Node-1
Produce Index
R0
Client 2000 search queries per second
8000 search queries per second
42. Deploy your way
Select a distribution model for your unique needs
Deploy instantly on AWS,
Azure or Google Cloud
Install a single package
Elastic Cloud Elastic Cloud on
Kubernetes
Elastic Cloud
Enterprise
Centrally manage multiple
deployments on your infra
Self-Managed