Type to search.

Elastic Logging Plugin for Docker

Serverless

Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Serverless interfaces and procedures might differ from classic Elastic Stack deployments.

Stack

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

You can set the debug level to capture debugging output about the Elastic Logging Plugin. To set the debug level:

  1. Disable the plugin:

    Shell
    docker plugin disable elastic/elastic-logging-plugin:9.5.6
    
  2. Set the debug level:

    Shell
    docker plugin set elastic/elastic-logging-plugin:9.5.6 LOG_DRIVER_LEVEL=debug
    

    Where valid settings for LOG_DRIVER_LEVEL are debug, info, warning, or error.

  3. Enable the plugin:

    Shell
    docker plugin enable elastic/elastic-logging-plugin:9.5.6
    

To view the logs:

On Linux, the Elastic Logging Plugin logs are written to the same location as other docker logs, typically the system journal.

On MacOS, locating the logs is more complicated. For more information, see the Debugging on MacOS section in the readme file.