Elasticsearch 8.x Cookbook - Fifth Edition

Book description

Search, analyze, store and manage data effectively with Elasticsearch 8.x

Key Features

  • Explore the capabilities of Elasticsearch 8.x with easy-to-follow recipes
  • Extend the Elasticsearch functionalities and learn how to deploy on Elastic Cloud
  • Deploy and manage simple Elasticsearch nodes as well as complex cluster topologies

Book Description

Elasticsearch is a Lucene-based distributed search engine at the heart of the Elastic Stack that allows you to index and search unstructured content with petabytes of data. With this updated fifth edition, you'll cover comprehensive recipes relating to what's new in Elasticsearch 8.x and see how to create and run complex queries and analytics.

The recipes will guide you through performing index mapping, aggregation, working with queries, and scripting using Elasticsearch. You'll focus on numerous solutions and quick techniques for performing both common and uncommon tasks such as deploying Elasticsearch nodes, using the ingest module, working with X-Pack, and creating different visualizations. As you advance, you'll learn how to manage various clusters, restore data, and install Kibana to monitor a cluster and extend it using a variety of plugins. Furthermore, you'll understand how to integrate your Java, Scala, Python, and big data applications such as Apache Spark and Pig with Elasticsearch and create efficient data applications powered by enhanced functionalities and custom plugins.

By the end of this Elasticsearch cookbook, you'll have gained in-depth knowledge of implementing the Elasticsearch architecture and be able to manage, search, and store data efficiently and effectively using Elasticsearch.

What you will learn

  • Become well-versed with the capabilities of X-Pack
  • Optimize search results by executing analytics aggregations
  • Get to grips with using text and numeric queries as well as relationship and geo queries
  • Install Kibana to monitor clusters and extend it for plugins
  • Build complex queries by managing indices and documents
  • Monitor the performance of your cluster and nodes
  • Design advanced mapping to take full control of index steps
  • Integrate Elasticsearch in Java, Scala, Python, and big data applications

Who this book is for

If you're a software engineer, big data infrastructure engineer, or Elasticsearch developer, you'll find this Elasticsearch book useful. The book will also help data professionals working in e-commerce and FMCG industries who use Elastic for metrics evaluation and search analytics to gain deeper insights and make better business decisions. Prior experience with Elasticsearch will help you get the most out of this book.

Table of contents

  1. Fifth Edition
  2. Fifth Edition
  3. Contributors
  4. About the author
  5. About the reviewers
  6. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the example code files
    4. Download the color images
    5. Conventions used
    6. Sections
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    7. Get in touch
    8. Share Your Thoughts
  7. Chapter 1: Getting Started
    1. Technical requirements
    2. Downloading and installing Elasticsearch
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    3. Setting up networking
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Setting up a node
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    5. Setting up Linux systems
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    6. Setting up different node roles
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    7. Setting up a coordinating-only node
      1. Getting ready
      2. How to do it…
      3. How it works…
    8. Setting up an ingestion node
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
    9. Installing plugins in Elasticsearch
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    10. Removing a plugin
      1. Getting ready
      2. How to do it…
      3. How it works…
    11. Changing logging settings
      1. Getting ready
      2. How to do it…
      3. How it works…
    12. Setting up a node via Docker
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    13. Deploying on Elastic Cloud Enterprise
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
  8. Chapter 2: Managing Mappings
    1. Technical requirements
    2. Using explicit mapping creation
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    3. Mapping base types
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    4. Mapping arrays
      1. Getting ready
      2. How to do it…
      3. How it works…
    5. Mapping an object
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    6. Mapping a document
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    7. Using dynamic templates in document mapping
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
      5. See also
    8. Managing nested objects
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
      5. See also
    9. Managing a child document with a join field
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
      5. See also
    10. Adding a field with multiple mappings
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
      5. See also
    11. Mapping a GeoPoint field
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more...
    12. Mapping a GeoShape field
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    13. Mapping an IP field
      1. Getting ready
      2. How to do it…
      3. How it works…
    14. Mapping an Alias field
      1. Getting ready
      2. How to do it...
      3. How it works…
    15. Mapping a Percolator field
      1. Getting ready
      2. How to do it...
      3. How it works…
    16. Mapping the Rank Feature and Feature Vector fields
      1. Getting ready
      2. How to do it…
      3. How it works…
    17. Mapping the Search as you type field
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    18. Using the Range Fields type
      1. Getting ready
      2. How to do it...
      3. How it works…
      4. See also
    19. Using the Flattened field type
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    20. Using the Point and Shape field types
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    21. Using the Dense Vector field type
      1. Getting ready
      2. How to do it…
      3. How it works...
    22. Using the Histogram field type
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    23. Adding metadata to a mapping
      1. Getting ready
      2. How to do it…
      3. How it works…
    24. Specifying different analyzers
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    25. Using index components and templates
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
  9. Chapter 3: Basic Operations
    1. Technical requirements
    2. Creating an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Deleting an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Opening or closing an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    5. Putting a mapping in an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    6. Getting a mapping
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Reindexing an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Refreshing an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    9. Flushing an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    10. Using ForceMerge on an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    11. Shrinking an index
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    12. Checking whether an index exists
      1. Getting ready
      2. How to do it...
      3. How it works...
    13. Managing index settings
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    14. Using index aliases
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    15. Managing dangling indices
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    16. Resolving index names
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    17. Rolling over an index
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. There's more...
      5. See also
    18. Indexing a document
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    19. Getting a document
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    20. Deleting a document
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    21. Updating a document
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    22. Speeding up atomic operations (bulk operations)
      1. Getting ready
      2. How to do it...
      3. How it works...
    23. Speeding up GET operations (multi-GET)
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also...
  10. Chapter 4: Exploring Search Capabilities
    1. Technical requirements
    2. Executing a search
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Sorting results
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    4. Highlighting results
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Executing a scrolling query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    6. Using the search_after functionality
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    7. Returning inner hits in results
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Suggesting a correct query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    9. Counting matched results
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    10. Explaining a query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    11. Query profiling
      1. Getting ready
      2. How to do it...
      3. How it works...
    12. Deleting by query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    13. Updating by query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    14. Matching all of the documents
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    15. Using a Boolean query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    16. Using the search template
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  11. Chapter 5: Text and Numeric Queries
    1. Technical requirements
    2. Using a term query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Using a terms query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    4. Using a terms set query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Using a prefix query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    6. Using a wildcard query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Using a regexp query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Using span queries
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    9. Using a match query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    10. Using a query string query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more…
      5. See also
    11. Using a simple query string query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    12. Using the range query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    13. Using an IDs query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    14. Using the function score query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    15. Using the exists query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    16. Using a pinned query (XPACK)
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  12. Chapter 6: Relationships and Geo Queries
    1. Technical requirements
    2. Using the has_child query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Using the has_parent query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Using the nested query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Using the geo_bounding_box query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    6. Using the geo_shape query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Using the geo_distance query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  13. Chapter 7: Aggregations
    1. Executing an aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    2. Executing a stats aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    3. Executing a terms aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    4. Executing a significant terms aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Executing a range aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    6. Executing a histogram aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    7. Executing a date histogram aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    8. Executing a filter aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    9. Executing a filters aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    10. Executing a global aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    11. Executing a geo distance aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    12. Executing a children aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    13. Executing a nested aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
    14. Executing a top hit aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    15. Executing a matrix stats aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    16. Executing a geo bounds aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    17. Executing a geo centroid aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    18. Executing a geotile grid aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    19. Executing a sampler aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
    20. Executing a pipeline aggregation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  14. Chapter 8: Scripting in Elasticsearch
    1. Painless scripting
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    2. Installing additional scripting languages
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
    3. Managing scripts
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
      5. See also
    4. Sorting data using scripts
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
    5. Computing return fields with scripting
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    6. Filtering a search using scripting
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Using scripting in aggregations
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Updating a document using scripts
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There’s more...
    9. Reindexing with a script
      1. Getting ready
      2. How to do it...
      3. How it works...
    10. Scripting in ingest processors
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  15. Chapter 9: Managing Clusters
    1. Controlling the cluster health using the health API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    2. Controlling the cluster state using the API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Getting cluster node information using the API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    4. Getting node statistics using the API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    5. Using the task management API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    6. Using the hot threads API
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Managing the shard allocation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    8. Monitoring segments with the segment API
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    9. Cleaning the cache
      1. Getting ready
      2. How to do it...
      3. How it works...
  16. Chapter 10: Backups and Restoring Data
    1. Managing repositories
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    2. Executing a snapshot
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Restoring a snapshot
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Setting up an NFS share for backups
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Reindexing from a remote cluster
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  17. Chapter 11: User Interfaces
    1. Installing Kibana
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    2. Managing Kibana Discover
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Visualizing data with Kibana
      1. Getting ready
      2. How to do it...
      3. How it works...
    4. Using Kibana Dev Tools
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
  18. Chapter 12: Using the Ingest Module
    1. Pipeline definition
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    2. Inserting an ingest pipeline
      1. Getting ready
      2. How to do it...
      3. How it works...
    3. Getting an ingest pipeline
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    4. Deleting an ingest pipeline
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Simulating an ingest pipeline
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    6. Built-in processors
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. The grok processor
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Using the ingest attachment plugin
      1. Getting ready
      2. How to do it...
      3. How it works...
    9. Using the ingest GeoIP processor
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    10. Using the enrichment processor
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  19. Chapter 13: Java Integration
    1. Creating a standard Java HTTP client
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    2. Creating a low-level Elasticsearch client
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    3. Using the Elasticsearch official Java client
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Managing indices
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Managing mappings
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    6. Managing documents
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Managing bulk actions
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Building a query
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    9. Executing a standard search
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    10. Executing a search with aggregations
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    11. Executing a scroll search
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    12. Integrating with DeepLearning4j
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  20. Chapter 14: Scala Integration
    1. Creating a client in Scala
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    2. Managing indices
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    3. Managing mappings
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Managing documents
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    5. Executing a standard search
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    6. Executing a search with aggregations
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    7. Integrating with DeepLearning.scala
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  21. Chapter 15: Python Integration
    1. Creating a client
      1. Getting ready
      2. How to do it...
      3. How it works…
      4. See also
    2. Managing indices
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. There's more…
      5. See also
    3. Managing mappings
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    4. Managing documents
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    5. Executing a standard search
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    6. Executing a search with aggregations
      1. Getting ready
      2. How to do it…
      3. How it works…
      4. See also
    7. Integrating with NumPy and scikit-learn
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Using AsyncElasticsearch
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    9. Using Elasticsearch with FastAPI
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  22. Chapter 16: Plugin Development
    1. Creating a plugin
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    2. Creating an analyzer plugin
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Creating a REST plugin
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Creating a cluster action
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Creating an ingest plugin
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  23. Chapter 17: Big Data Integration
    1. Installing Apache Spark
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    2. Indexing data using Apache Spark
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    3. Indexing data with meta using Apache Spark
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    4. Reading data with Apache Spark
      1. Getting ready
      2. How to do it...
      3. How it works...
    5. Reading data using Spark SQL
      1. Getting ready
      2. How to do it...
      3. How it works...
    6. Indexing data with Apache Pig
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Using Elasticsearch with Alpakka
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Using Elasticsearch with MongoDB
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
  24. Chapter 18: X-Pack
    1. ILM – managing the index life cycle
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    2. ILM – automating rollover
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Using the SQL Rest API
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. There's more...
      5. See also
    4. Using SQL via JDBC
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    5. Using X-Pack Security
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    6. Using alerting to monitor data events
      1. Getting ready
      2. How to do it…
      3. How it works...
      4. See also
    7. Why subscribe?
  25. Other Books You May Enjoy
    1. Packt is searching for authors like you
    2. Share Your Thoughts

Product information

  • Title: Elasticsearch 8.x Cookbook - Fifth Edition
  • Author(s): Alberto Paro
  • Release date: May 2022
  • Publisher(s): Packt Publishing
  • ISBN: 9781801079815