Book Image

Datadog Cloud Monitoring Quick Start Guide

By : Thomas Kurian Theakanath
Book Image

Datadog Cloud Monitoring Quick Start Guide

By: Thomas Kurian Theakanath

Overview of this book

Datadog is an essential cloud monitoring and operational analytics tool which enables the monitoring of servers, virtual machines, containers, databases, third-party tools, and application services. IT and DevOps teams can easily leverage Datadog to monitor infrastructure and cloud services, and this book will show you how. The book starts by describing basic monitoring concepts and types of monitoring that are rolled out in a large-scale IT production engineering environment. Moving on, the book covers how standard monitoring features are implemented on the Datadog platform and how they can be rolled out in a real-world production environment. As you advance, you'll discover how Datadog is integrated with popular software components that are used to build cloud platforms. The book also provides details on how to use monitoring standards such as Java Management Extensions (JMX) and StatsD to extend the Datadog platform. Finally, you'll get to grips with monitoring fundamentals, learn how monitoring can be rolled out using Datadog proactively, and find out how to extend and customize the Datadog platform. By the end of this Datadog book, you will have gained the skills needed to monitor your cloud infrastructure and the software applications running on it using Datadog.
Table of Contents (19 chapters)
Section 1: Getting Started with Datadog
Section 2: Extending Datadog
Section 3: Advanced Monitoring

Searching logs

To search the logs, navigate to Logs | Search and the search window should look like the sample interface in the following screenshot:

Figure 13.5 – Searching logs

A search query is composed of keywords and operators. In Datadog terminology, a single term is a single keyword, such as error, and a sequence is a group of keywords in quotes, such as "found error". To coin a complex search query, terms and sequences are combined using the following boolean operators:

  • AND: Both terms must be in the selected log entry.
  • OR: One of the terms must be in the selected log entry.
  • - (Exclude): The term follows the character "-" and should be excluded in the selected log entry.

Built-in keywords such as host or source can be used as a search term by using the autocomplete option in the search field. You just need to click in the search field to see all the terms available to use, as shown in the following...