O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning ElasticSearch 5.0: Distributed Searching and Log Analytics Made Easy

Video Description

Store, search, and analyze your data with ease using ElasticSearch 5.0

About This Video

  • Get the basics of ElasticSearch concepts, APIs and best use cases
  • Create large-scale ElasticSearch clusters and build analytics using aggregation
  • Implement Elastic Search 5.0 in the logstash Apache web log analysis.


This course is a step-by-step guide to using Elasticsearch in combination with the rest of the ELK stack (now called Elastic Stack) to ship, parse, store, and analyze logs.

You’ll start this course by getting an understanding of what ElasticSearch is, what it’s used for, and why it’s important. Then, you’ll be introduced to the new features in ElasticSearch 5.0. We’ll go through each of the fundamental concepts of ElasticSearch such as queries, indices, and aggregation.

You’ll find out how to add more power to your searches using filters, ranges, and more. You’ll also see how ElasticSearch can be used with the other components of the Elastic Stack such as LogStash, Kibana, and Beats. Finally, we’ll take a walk through getting ElasticSearch up and running on the popular logstash Apache web log analysis.

Aside from learning how to add more power to your searches with filters, ranges, and more, you'll also see how ElasticSearch can be used with the other components of the Elastic Stack such as LogStash, Kibana and Beats. Finally, we’ll build, test and run our first Logstash pipeline to analyze Apache web logs. This step combines all the understanding of ElasticSearch, Logstash, Kibana and the lightweight data shipper FileBeat that we acquired from previous sections.

By the end of this course, you will have a firm understanding of all the fundamentals of ElasticSearch 5.0, along with knowledge of practical real world usage.

What you will learn

  • Understand why you should implement Elastic Search in your next project & beyond
  • Add and remove indices & documents
  • Add data in JSON format & interact via RESTful API using http GET & DELETE calls.
  • Use filters, ranges and matching, along with other advanced features, is covered.
  • Learn about Kibana and Logstash to serve as an excellent starting point for building the Elastic search Stack.
  • How to perform an full analysis, with ElasticSearch, Logstahs and Kibana on Apache web logs
  • Run some more advanced DSL search queries.
  • Learn the differences between Solr from Elastic Search.

Who should take this course

If you're a developer who wants to analyze and manipulate data, then this is the course for you. No previous knowledge of ElasticSearch 5.0 is required.

About the author

Ethan Anthony is a San Francisco based Data Scientist who specializes in distributed data centric technologies. He is also the Founder of XResults, where the vision is to harness the power of data to innovate and deliver intuitive customer facing solutions, largely to non-technical professionals. Ethan has over 10 combined years of experience in cloud based technologies such as Amazon webservices and OpenStack, as well as the data centric technologies of Hadoop, Mahout, Spark and ElasticSearch. He began using ElasticSearch in 2011 and has since delivered solutions based on the Elastic Stack to a broad range of clientele. Ethan has also consulted worldwide, speaks fluent Mandarin Chinese and is insanely curious about human cognition, as related to cognitive dissonance.

About Packt Video

Packt Video publishes friendly, practical video tutorials, packed with practical skills, concepts and guidance to help you succeed with new technologies and tasks. Packt Video’s series include Learn, Hands-On, Mastering, In 7 Days, Troubleshooting, and more. Our courses cover web and software development, security and ethical hacking, data science, and other key tech topics. We exist to make cutting-edge topics accessible for all.

GitHub Link

The code bundle for this video course is available at - https://github.com/PacktPublishing/Learning-ElasticSearch-5.0-video

Table of Contents

  1. Chapter 1 : Getting Started with ElasticSearch
    1. The Course Overview 00:03:09
    2. What Is ElasticSearch? 00:04:02
    3. Installing ElasticSearch 00:06:34
    4. Goal of ElasticSearch 00:04:17
    5. What's New in Version 5.0? 00:03:37
    6. Why Use ElasticSearch? 00:05:11
  2. Chapter 2 : Dichotomy of ElasticSearch
    1. What Is an Index? 00:02:31
    2. Documents in ElasticSearch 00:04:20
    3. What Is a Cluster? 00:06:52
    4. Setting Shards and Replicas 00:06:31
  3. Chapter 3 : Get Going with Documents and Indices
    1. Adding and Deleting an Index 00:08:10
    2. Adding and Deleting Documents 00:05:33
    3. Using Bulk API 00:08:45
  4. Chapter 4 : Querying with RESTful API
    1. Introduction to REST API 00:03:22
    2. Using REST API to Search 00:06:34
    3. Using REST API to Update 00:06:40
  5. Chapter 5 : Power Your Searches with DSL
    1. Introduction to DSL 00:04:10
    2. Understanding DSL 00:03:09
    3. Term Queries and Boosting 00:07:13
    4. Range Query 00:02:28
    5. Exist Query 00:03:02
    6. Aggregation Based Analytics 00:06:41
    7. Aggregations: Implementation 00:04:45
  6. Chapter 6 : What ElasticSearch is NOT
    1. Myths about ElasticSearch 00:08:40
  7. Chapter 7 : Getting More with ElasticStack
    1. What Is ElasticStack? 00:01:48
    2. Kibana 00:05:24
    3. Logstash 00:03:49
    4. X-Pack 00:04:58
    5. Beats 00:01:54
  8. Chapter 8 : Apache Log Analysis
    1. Preparing for Log Analysis 00:05:41
    2. Running Log Analysis 00:09:26
  9. Chapter 9 : Advanced ElasticSearch Queries
    1. Sorting in ElasticSearch 00:04:33
    2. Geo Searching 00:02:51
    3. Getting into Synonyms 00:04:24
  10. Chapter 10 : ElasticSearch versus Apache Solr
    1. Choosing between ElasticSearch and Apache Solr 00:04:45