Transform your application logs to structured logs that comply with the Elastic Common Schema (ECS). In combination with filebeat you can send your logs directly to Elasticsearch and leverage Kibana's Logs UI to inspect all logs in one single place. This library allows you to provide more observability for your PHP applications as can e.g. corrolate your logs with e.g. APM traces. See ecs-logging for other ECS logging libraries and more resources about ECS & logging.
composer require elastic/ecs-logging
- Currently only Monolog:2.* is supported.
- The major version of this library is compatible with the major version of ECS.
composer test
This software is licensed under the Apache 2 license.