Skip to content

pimjansen/ecs-logging-php

 
 

Repository files navigation

Build Status

ECS Logging for PHP

Transform your application logs to structured logs that comply with the Elastic Common Schema (ECS). In combination with Filebeat, send your logs directly to Elasticsearch and leverage Kibana's Logs app to inspect all of your logs in a single place. This provides more observability for your PHP applications, for example, by correlating your logs with APM traces.

See the PHP ECS logging documentation to get started, or the ecs-logging repo for other ECS logging libraries and more resources about ECS & logging.


Install

composer require elastic/ecs-logging

Examples and Usage

Library Support

  • Currently only Monolog:2.* is supported.
  • The major version of this library is compatible with the major version of ECS.

References

Contributing

See contributing documentation.

License

This software is licensed under the Apache 2 license.

About

Logging formatters for ECS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 92.9%
  • Shell 2.7%
  • Makefile 2.1%
  • JavaScript 1.8%
  • Dockerfile 0.5%