Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Structure of ELK
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
''Auto-generated from the uploaded PDF [[:File:Structure_of_ELK.pdf|Structure_of_ELK.pdf]]. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.'' <pre> <nowiki> Structure of ELK 1. Elasticsearch Hierarchy β Simple Structure Cluster βββ Node A (Master) βββ Node B (Master) βββ Node C (Master) βββ Node D (Data) βββ Node E (Data) βββ Node F (Data) 2. Index β Like a Database Table Index: logs-2025-06 βββ Shard 0 (Primary) β Stored on Node D β βββ Documents: log1, log2, log3... βββ Shard 0 (Replica) β Stored on Node E βββ Shard 1 (Primary) β Stored on Node E β βββ Documents: log4, log5, log6... βββ Shard 1 (Replica) β Stored on Node F Index = A collection of documents (like a table in SQL) Shards = Pieces of the index for horizontal scaling Primary shard = Main copy Replica shard = Backup copy for redundancy 3. Document β Like a Row in SQL Each document is a JSON object: { "timestamp": "2025-06-13T12:34:56", "level": "ERROR", "message": "Failed to connect to DB" } Documents are stored inside shards, which are stored inside data nodes. Elastic design in DGARM Cluster name:- elastic-nonprod Master Node :- 10.150.20.180 10.150.20.181 10.150.20.182 Data Node :- 10.150.20.183 10.150.20.184 10.150.20.185 Data Node of Cluster 10.150.20.183 10.150.20.184 10.150.20.185 Index and Shards Index and Shard Index: Flight, Crew Primary shard 1,2 Node + Shards Index: Passengerβs, flight, Primary Shards Primary Shards 1,2 1,2, for Passenger crew Replica shard of Flight Index. Replica Shards of Sh Replica shard of crew Passenger Master Node :- 10.150.20.180, 10.150.20.181, 10.150.20.182 Managing cluster state Creating or deleting indices Tracking which nodes are part of the cluster Allocating shards to nodes Monitoring node health and initiating recovery if needed ο° 1. Node 10.150.20.180 (Active Master) One of the nodes (likely A) is elected as the active master. It handles all cluster coordination tasks. The election is based on a quorum (majority) of master-eligible nodes. ο° 2. Node 10.150.20.181 and 10.150.20.182 (Standby Masters) These nodes are master-eligible but not currently active. They monitor the active master and are ready to take over if Node A fails. This ensures high availability and fault tolerance. </nowiki> </pre>
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)