Hunt with queries.
Learn KQL, ES|QL and EQL by solving real investigations.
Querynaut is a hands-on workshop for the Elasticsearch query languages. Every lesson ends with a case you solve with a query against a live Elasticsearch lab: brute force, phishing, credential dumping, lateral movement and data exfiltration.
Create an account with e-mail and password in seconds. No credit card, no installation.
FROM lab-auth | WHERE event.outcome == "failure" | STATS failures = COUNT(*) BY source.ip | SORT failures DESC | LIMIT 3
| failures | source.ip |
|---|---|
| 412 | 185.220.101.47 |
| 3 | 10.10.1.12 |
| 2 | 10.10.4.41 |
Three tracks, one story
All tracks investigate the same week at the fictional company Kestrel Logistics. You start by filtering with KQL, aggregate and enrich with ES|QL, and finish by writing EQL detections for the whole attack chain. Free Elasticsearch courses →
KQL Foundations
The Kibana Query Language is the search bar you use every day in Discover, dashboards and detection rules. Learn fields, boolean logic, wildcards and ranges, then hunt down a brute-force attack and a SQL injection.
- ▸ Getting started
- ▸ Boolean logic
- ▸ Wildcards, existence and ranges
- ▸ Investigations
ES|QL Analytics
The Elasticsearch Query Language is a piped language for search, aggregation and transformation. Learn the processing commands step by step, then use statistics, parsing and LOOKUP JOIN to find beaconing and data exfiltration.
- ▸ Thinking in pipes
- ▸ Aggregations
- ▸ Transform and parse
- ▸ Threat hunting with ES|QL
EQL Detection Engineering
The Event Query Language was built for endpoint telemetry. Match single events, chain them into sequences, follow process lineage and write the detections that would have caught the Kestrel intrusion: phishing, credential dumping, lateral movement and exfiltration.
- ▸ Event queries
- ▸ Sequences
- ▸ Writing detections
Optional topics
Go beyond the query languages: parse raw logs with Grok and learn the Elastic Common Schema that every lab index follows. Optional tracks have no exams and don't count towards your overall progress or any final exam.
🧪 Hands-on labs for SOC, detection and content engineering
After the courses, work through realistic incidents: triage alerts, write detection rules scored on precision and recall, and parse raw logs into ECS. The labs are free for registered users.
9 scenario labs · 47 graded tasks
Learn
Short lessons explain one concept at a time, with examples taken from real SOC work and mapped to MITRE ATT&CK.
Query
Write your query in the lab and run it against a real Elasticsearch cluster with one week of security telemetry.
Answer
Answer the question or submit your query. Querynaut checks it against the live data and tracks your progress.
Train your whole SOC team
Create a team, invite colleagues by e-mail or with a link, and follow everyone's progress per language and chapter. Team leads see who is stuck and where the team needs more practice.
Frequently asked questions
- What is Querynaut?
- Querynaut is a free learning platform for the Elasticsearch query languages KQL, ES|QL and EQL. You learn with short lessons and solve security investigations with real queries against a live Elasticsearch lab.
- Is Querynaut really free?
- Yes. Lessons, labs, exams, certificates and team features are free. Querynaut is a non-profit project supported by voluntary donations.
- What are the Querynaut labs?
- Scenario labs for SOC analysts, detection engineers and content engineers: realistic incidents with a week of synthetic logs, solved with KQL, ES|QL, EQL and Grok and graded automatically. They are free and need an account.
- Can I get a free Elasticsearch certificate?
- Yes. The KQL, ES|QL and EQL courses each end with a hands-on final exam. Pass it to get a free PDF certificate with a public verification code. Querynaut certificates are independent and not official Elastic certifications, but they show that you can query real data.
- Do I need to install Elasticsearch or Kibana?
- No. All exercises run in your browser against a hosted Elasticsearch cluster with one week of synthetic security data.
- Which query language should I learn first?
- Start with KQL, the search bar in Kibana. Continue with ES|QL for aggregations and enrichment, then EQL for sequence-based detections. Grok and ECS are optional topics for parsing and normalising logs.
- Can I train my team with Querynaut?
- Yes. Create a team, invite colleagues with a link and follow each member's progress and exam results as team lead.