The Elastic Stack is a set of tools that collects records from computers, stores them and lets people search them.
This guide is for anyone who has heard "ELK" or "Elastic" at work and wants a plain answer. You do not need to run servers to be affected: if your company keeps logs about you or its customers, they may sit in a store like this.
This is an independent guide from NHI Mgmt Group, based on Elastic's public documentation as of December 2026. It is not sponsored or reviewed by Elastic. Product features change, so confirm settings against Elastic's current documentation.
In short
- The Elastic Stack, often called ELK, gathers records, stores them in Elasticsearch and shows them in Kibana.
- Those records often hold names, addresses and secrets, so the store needs the same care as any database.
- Since version 8.0, new self-managed clusters switch on passwords and encryption at first start.
- Keep the store off the open internet, give each person and program only the access it needs, and keep it updated.
What you will learn
- Explain what each part of the Elastic Stack does.
- Spot the settings that leave a cluster open to strangers.
- Check whether an older cluster missed the newer safe defaults.
- Ask who looks after the keys that programs use to reach it.
- Records of events (logs)
- short notes a computer writes each time something happens, such as a sign-in.
- Group of servers (cluster)
- several computers running Elasticsearch together as one store.
- Software password (API key)
- a secret code a program shows to prove it may connect.
What is the Elastic Stack?
Think of a big library. Books arrive at the back door, staff shelve them, a catalogue finds any page fast, and a reading room shows what you asked for. The Elastic Stack does the same job for computer records.
Elastic says the stack is also called ELK. Its parts work together to take in, store, search and show data [1]. Each part has a simple job:
- Elasticsearch is the store and search engine. Every setup includes it [1].
- Kibana is the screen people use to search, build charts and manage the data [1].
- Logstash is a pipeline (a chain of steps that tidies data on the way in) for more complex jobs [1].
- Elastic Agent and the older Beats are small collectors that sit on each computer and send records in. Elastic says Elastic Agent has replaced Beats for most uses [1].
Where the comparison stops working: a library lends books that are meant to be read. A log store often holds private details, so the doors need locks and the catalogue needs a guest list.
Why does it matter?
Logs are useful because they record a lot. That also makes them valuable to a stranger. Elastic warns that an unsecured cluster lets anyone with network access read, change or delete its data [2].
If you are new to IT work
What could happen: a test cluster you set up is left reachable from the internet with real data in it.
Check this: ask where the cluster can be reached from, and who can sign in.
If you run a small business
What could happen: a supplier stores your customer logs in a cluster you have never asked about.
Check this: ask the supplier how the store is locked, and how long the logs are kept.
If you work in a security team
What could happen: the tool you use to spot attacks becomes the place where data leaks.
Check this: treat the log store as a valuable system, with its own owner and checks.
Next: SIEM for Beginners
What does it look like?
Here is a made-up settings checklist for a small cluster. It shows the points worth asking about.
Example only. All values are made up.
Cluster review: EXAMPLE-logs-cluster Version: 0.0 (FAKE) (1) Security switched on: yes (2) Reachable from: office network only (3) Admin account used daily: no (4) Program keys: 2 keys, expiry date set (5) Owner: [email protected] (6)
- In a real file, this line would show the version, which tells you which safe defaults apply.
- Passwords and encryption are on. This is the first thing to confirm.
- The store can only be reached from a trusted network, not the whole internet.
- People use their own accounts, not the all-powerful admin account.
- Each program has its own key, and each key has an end date.
- A named team answers for the cluster.
Why this is risky: if line 2 or line 3 is wrong, a stranger may be able to read the records in the store.
The safer way: confirm every line above for each cluster, and write down who owns it.
How does it work?
- Collect. A collector such as Elastic Agent runs on each computer and gathers logs and other data [1].
- Take in and tidy. The data is sent in, sometimes through Logstash, which can clean it up and route it [1]. This stage is called ingest (taking data into the store).
- Store and index. Elasticsearch saves each record and builds an index, a fast lookup list, so searches come back in near real time [1].
- Search and show. People use Kibana to search and to build dashboards, screens made of panels that show charts and tables [3].
- Control who gets in. Security features check who is asking (authentication) and what they may do (authorisation). Audit logging records those checks, which helps later if something goes wrong [4].

Since version 8.0, Elastic says security is on by default for new self-managed clusters [5]. At first start, Elasticsearch creates certificates for TLS (encryption for data moving across a network). It also sets a password for the main elastic admin account and makes a short-lived token so Kibana can join safely [6][7].
There is a catch. Elastic says this automatic setup runs only on a cluster's first start. It is skipped where security settings already exist, and no changes are made to a cluster upgraded from an earlier version [7]. An older cluster that was upgraded may need its settings checked by hand.
Programs that talk to Elasticsearch often use API keys. These are non-human identities: credentials that let software, and sometimes AI agents, act without a person. Elastic's documentation says API keys do not expire unless you set an expiry date when you create them [8]. Set one, and limit each key to the job it does.

A worked example
This story is made up to show the idea.
Mira Ulrich has just joined the IT team at a small travel firm. Her manager asks her to tidy up an old log cluster that stores booking records from the website.
Mira starts with the questions on the checklist. Which version is it? The cluster was built years ago and has been upgraded several times. She reads that the automatic security setup only runs on a brand new cluster, so she cannot assume it ever ran.
She signs in to Kibana and finds that security is switched on, which is good. But the firewall rule lets any address on the internet reach the cluster. She asks the network team to limit it to the office network and the web servers that send logs.
Next she looks at program access. The website sends logs using the main admin account. Mira's colleague Bruno Quist helps her create a separate API key for the website. It can only add new records, and it has an end date. They store it in the firm's secrets vault and remove the admin password from the web server.
Last, she checks updates. The cluster is two releases behind. She books a maintenance window and subscribes the team to Elastic's security announcements [9].
Mira writes a short note: who owns the cluster, who can reach it, and which keys exist. Next quarter, whoever checks it will know where to start.
Myths and mistakes
| What people think | What is true |
|---|---|
| Logs are boring, so nobody will want them. | Logs often hold names, addresses, network details and sometimes secrets. Treat them like any other customer data. |
| We are on version 8 or later, so security must be on. | Automatic setup runs on a cluster's first start. An upgraded cluster keeps its earlier settings[7]. |
| A password is enough, so the cluster can face the internet. | Elastic's own advice is to keep Elasticsearch off public internet traffic even with security on[2]. |
| One admin account for every program keeps things simple. | If that one secret leaks, everything leaks. Give each program its own limited key. |
| A key made once will be cleaned up later. | Keys stay valid until they expire or are removed. Set an end date when you create them[8]. |
What can I do this week?
- List every Elastic cluster your team runs, with its version and owner.
- Ask where each one can be reached from.
- Check that security is on, most of all on upgraded clusters.
- Find any program that uses the admin account. Plan its own key.
- Sign up for Elastic's security announcements so updates are not missed.
Checklist
- Every cluster has a named owner.
- Security is switched on for every cluster.
- No cluster takes traffic straight from the public internet.
- People sign in with their own accounts, not the shared admin account.
- Each program has its own API key with an end date and limited rights.
- Keys are kept in a secrets vault, not in settings files.
- Audit logging is switched on where your plan includes it.
- Vendor security updates are applied promptly.
Common questions
Is ELK the same as the Elastic Stack?
Yes. ELK comes from the first letters of Elasticsearch, Logstash and Kibana. Elastic's own pages say the stack is called the Elastic Stack or ELK. Today it also includes collectors such as Elastic Agent, so the newer name covers more parts.
Is the Elastic Stack a SIEM?
It can be used as one. A SIEM is a tool that gathers security logs in one place to spot trouble. The stack stores and searches any kind of data, and Elastic adds security features on top. Our practitioner guide covers those detection features.
Why does a log store leak data?
Mostly because of how it is set up. Elastic warns that a cluster without security lets anyone with network access read, change or delete data. Reaching it from the open internet makes that much easier, so network limits and passwords both matter.
Does Elastic Cloud need the same checks?
Partly. Elastic says its cloud service already runs with security switched on [5]. You still choose who can reach the deployment, which accounts and keys exist, and what each may do. Those settings stay with you as the customer.
What is the elastic user?
It is the built-in admin account with full control. Elasticsearch sets its password at first start. It is meant for setup and emergencies. Day-to-day work and programs should use their own accounts or keys with fewer rights.
Where next?
Ready for the detail? Read the practitioner guide: Elastic Security Guide. It goes further into detection rules, admin roles, service tokens and audit logging settings.
Also useful:
Related NHI Mgmt Group resources: Non-Human Identities for Beginners, Secrets Management for Beginners and Security Misconfiguration for Beginners.
Key terms
- Elasticsearch
- A search and analytics engine that stores large amounts of data. Most risk comes from how it is set up and who can reach it.
- Kibana
- The web screen for searching, charting and exploring data held in Elasticsearch.
- Logstash
- A pipeline that takes in, tidies and forwards logs and other event data.
- Log management
- Collecting, storing, searching and organising log data from systems and apps.
- API key
- A secret code a program uses to prove it may call another service. Keys can last a long time, so they need careful handling.
- Least privilege
- Giving each person or program only the access it needs, for only as long as needed.
- Transport Layer Security
- The encryption that protects data moving between systems so others cannot read or change it.
Sources and further reading
- Elastic, "The Elastic Stack", Elastic Docs. https://www.elastic.co/docs/get-started/the-stack (accessed 1 Dec 2026).
- Elastic, "Elasticsearch security principles", Elasticsearch Guide 8.19. https://www.elastic.co/guide/en/elasticsearch/reference/8.19/es-security-principles.html (accessed 1 Dec 2026).
- Elastic, "Dashboards", Elastic Docs. https://www.elastic.co/docs/explore-analyze/dashboards (accessed 1 Dec 2026).
- Elastic, "Security", Elastic Docs (deploy and manage). https://www.elastic.co/docs/deploy-manage/security (accessed 1 Dec 2026).
- Elastic, "Elastic 8.0: A new era of speed, scale, relevance, and simplicity", Elastic Blog, 10 February 2022. https://www.elastic.co/blog/whats-new-elastic-8-0-0 (accessed 1 Dec 2026).
- Elastic, "Automatic security setup", Elastic Docs. https://www.elastic.co/docs/deploy-manage/security/self-auto-setup (accessed 1 Dec 2026).
- Elastic, "Securing your Elastic Stack is now simpler than ever", Elastic Blog, 10 February 2022. https://www.elastic.co/blog/introducing-simplified-elastic-stack-security (accessed 1 Dec 2026).
- Elastic, "Create an API key", Elasticsearch API documentation. https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-create-api-key (accessed 1 Dec 2026).
- Elastic, "Product security", Elastic. https://www.elastic.co/community/security (accessed 1 Dec 2026).