Minimum price
Suggested price


Log Management with Graylog, Elasticsearch, MongoDB, Nginx, Fluentd, Vagrant and Docker

About the Book

Before getting this book, please click on Read Free Sample to download a sample chapter for free; this should give you an idea of whether you like the book's style, structure, and contents. Please let me know ( if you have any trouble throughout your Graylog journey!

In this hands-on book, you will learn how to manage logs using the awesome open-source Graylog and create a scalable, high-throughput and high-available log processing architecture deploying Elasticsearch, MongoDB and Graylog clusters on top of Docker/Vagrant and Nginx acting as reverse proxy. Also, we will use Fluentd high availability setup based on forwarders and aggregators to collect logs from various sources and send them to Graylog.

I use to say that development is development and production is production. Many things can (and I bet they will) go wrong in production, especially if your application is accessible on the Internet. When something crashes, guess who is your best friend? That's right: Logs.

I have successfully implemented a very similar architecture as the one presented in this book in production and it was able to ingest thousands of log messages per second and easily handle node failures. This is the book I wish I had found when I was learning how to implement a complex and scalable logging architecture in production; that's why I'm writing it.

It's also worth mentioning that this book is a forever edition, which means that no matter how fast the technologies used here evolve, this book will be always kept up to date and of course, you will get notified and will pay nothing to take advantage of the updates.

I hope you buy this book and have a very pleasant reading. Thank you very much!

About the Author

Jorge Acetozi
Jorge Acetozi

Jorge Acetozi is a senior software engineer and technical writer who spends almost his whole day having fun with things such as AWS, Kubernetes, Docker, Terraform, Ansible, Cassandra, Redis, Elasticsearch, Graylog, Sensu, Fluentd, RabbitMQ, Kafka, Java, Python, Spring, and much more! He loves deploying applications in production while thousands of users are online, monitoring the infrastructure, and acting quickly when monitoring tools decide to challenge his heart's health! Check out my newest articles:

Bundles that include this book

Bought separately
Bundle Price

Table of Contents

    • About the Author
  • Introduction
    • Why do I need a Centralized Logging System Like Graylog?
    • Hands-on Introduction to Graylog
      • Graylog Components
      • Pre-Requisites
      • Set up Graylog using Vagrant and Docker
      • Inputs
      • Forwarding VM Logs using Rsyslog
      • Getting Alerted
        • Streams
        • Alert
          • HTTP Notification
          • Email Notification using Amazon SES
  • Appendices
    • Introduction to Docker
    • Difference Between Container and Image
    • Docker Hub
      • Create your Account
      • Official Docker Repositories
      • Image Tags
      • Pulling Images From a Different Docker Registry
      • Non-Official Docker Images
      • Create a Repository, an Image and Push it to Docker Hub
    • Running Containers on Docker
      • Running Containers as Daemons
      • Container Clean Up
      • Naming Containers
      • Exposing Ports
      • Persistent Data with Volumes
      • Environment Variables
    • Docker Networking
      • Create a Bridge Network
        • Container Static IP Address
        • Linking Containers
    • Most Used Docker Commands
      • Images
      • Containers
      • Misc
    • Building Docker Images
      • Dockerfile
        • FROM
        • ENV
        • RUN
        • WORKDIR
        • COPY
        • ADD
        • EXPOSE
        • ENTRYPOINT
        • VOLUME
        • USER

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub