Elastic Logging Plugin for Docker
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability 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.
Serverless
Generally available
Stack
Generally available
You can set the debug level to capture debugging output about the Elastic Logging Plugin. To set the debug level:
Disable the plugin:
Shell docker plugin disable elastic/elastic-logging-plugin:9.5.6Set the debug level:
Shell docker plugin set elastic/elastic-logging-plugin:9.5.6 LOG_DRIVER_LEVEL=debugWhere valid settings for
LOG_DRIVER_LEVELaredebug,info,warning, orerror.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.