/Elastic-Stack-8.x-Cookbook

Elastic Stack 8.x Cookbook published by Packt Publishing

Primary LanguageJavaScriptMIT LicenseMIT

Elastic Stack 8.x Cookbook

no-image

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

What is this book about?

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! https://www.packtpub.com/

Instructions and Navigations

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"]
    }
  }
}

Quick links to the chapters

  1. Getting Started – Installing the Elastic Stack
  2. Ingesting General Content Data
  3. Building Search Applications
  4. Timestamped Data Ingestion
  5. Transform Data
  6. Visualize and Explore Data
  7. Alerting and Anomaly Detection
  8. Advanced Data Analysisand Processing
  9. Vector Search and Generative AI Integration
  10. Elastic Observability Solution
  11. Managing Access Control
  12. Elastic Stack Operation
  13. 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 and Hardware List

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

Related products

Get to Know the Authors

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