This is the code repository for Elastic Stack 8.x Cookbook, published by Packt.
Over 80 recipes to perform ingestion, search, visualization, and monitoring for actionable insights
With its practical approach and real-world examples, this essential resource explores the full potential of Elastic Stack for data-driven projects. Learn how to build scalable and efficient data analytics and search solutions using Elastic Stack.
This book covers the following exciting features:
- Discover techniques for collecting data from diverse sources
- Visualize data and create dashboards using Kibana to extract business insights
- Explore machine learning, vector search, and AI capabilities of Elastic Stack
- Handle data transformation and data formatting
- Build search solutions from the ingested data
- Leverage data science tools for in-depth data exploration
- Monitor and manage your system with Elastic Stack
If you feel this book is for you, get your copy today!
This repository contains working versions of the snippets provided in the book to help you to make the most of the Elastic Stack (ELK Stack). All of the code is organized into folders. For example, Chapter3.
The code will look like the following:
GET /movies/_search
{
"query": {
"multi_match": {
"query": "come home",
"fields": ["title", "plot"]
}
}
}
- Getting Started – Installing the Elastic Stack
- Ingesting General Content Data
- Building Search Applications
- Timestamped Data Ingestion
- Transform Data
- Visualize and Explore Data
- Alerting and Anomaly Detection
- Advanced Data Analysisand Processing
- Vector Search and Generative AI Integration
- Elastic Observability Solution
- Managing Access Control
- Elastic Stack Operation
- Elastic Stack Monitoring
Following is what you need for this book: This book is for Elastic Stack users, developers, observability practitioners, and data professionals ranging from beginner to expert level. If you’re a developer, you’ll benefit from the easy-to-follow recipes for using APIs and features to build powerful applications, and if you’re an observability practitioner, this book will help you with use cases covering APM, Kubernetes, and cloud monitoring. For data engineers and AI enthusiasts, the book covers dedicated recipes on vector search and machine learning. No prior knowledge of the Elastic Stack is required.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Software required | OS required |
---|---|
Elastic Stack 8.12 | Windows, macOS, or Linux |
Python 3.11+ | |
Docker 4.27.0 | |
Kubernetes 1.24+ | |
Node.js 19+ | |
Terraform 1.8.0 | |
Amazon Web Services (AWS) | |
Google Cloud Platform (GCP) | |
Okta | |
Ollama | |
OpenAI/Azure OpenAI |
- Page 201 (Point 11, Code block 1): traffic_status: " congested" should be traffic_status: "congested"
- Page 204 (Last paragraph, Line 3): above 100 should be above 1000
Huage Chen is a member of Elastic's Solutions Architecture team for over 4 years, helping users across Europe create cloud-based solutions for search, data analysis, observability, and security. Prior to joining Elastic, he worked for 10 years in the field of web content management, web portals, and digital experience platforms. Huage holds a master’s degree in computer science from INSA de Lyon.
Yazid Akadiri is a solution architect at Elastic for over 4 years, helping organizations and users solve their data and most critical business issues by harnessing the power of the Elastic Stack. At Elastic, he works with a broad range of customers with a particular focus on Elastic observability and security solutions. He previously worked in web services oriented architecture focusing on API management and helping organizations build modern applications.
For any feedback or suggestions, please reach out to the authors at huage.chen_at_elastic.co and yazid.akadiri_at_elastic.co