New announcements for Serverless, Network, RUM, and more from Dash! New announcements from Dash!

Marklogic

Overview

Gather your logs from Marklogic and send them to Datadog.

Setup

Installation

The Marklogic integration is included in the Datadog Agent package, so you don’t need to install anything else on your host.

Configuration

Log Collection

Available for Agent >6.0

  1. Collecting logs is disabled by default in the Datadog Agent. Enable it in datadog.yaml:

    logs_enabled: true
  2. Add this configuration block to your marklogic.d/conf.yaml file to start collecting your MarkLogic Logs:

      logs:
          - type: file
            path: <MARKLOGIC_LOG_FILE_PATH>
            source: marklogic
            sourcecategory: database
            service: <SERVICE>
    

    Change the path and service parameter values and configure them for your environment.

  3. Restart the Agent.

Validation

Run the Agent’s status subcommand and look for marklogic under the Checks section.