ecs-logging-php
ecs-logging-php copied to clipboard
This update fixes an issue working with [monolog 2.5](https://github.com/Seldaek/monolog/releases/tag/2.5.0) and above, where the IntrospectionProcessor added a `callType` field to its output. Since the `ElasticCommonSchemaFormatter` does not know about this field,...
Hi, The `composer require elastic/ecs-logging` command generates this: ``` Using version ^1.0 for elastic/ecs-logging ./composer.json has been updated Running composer update elastic/ecs-logging Loading composer repositories with package information Updating dependencies...
Hey there! 👋 Please correct me if I'm mistaken, but I noticed this package is marked as being a provider of `psr/log-implementation` (PSR-3), but it does not appear to implement...
Now is ECS_VERSION is const, but I need to set version 1.5.0, easiest way is via constructor like this. My version is backward compatible. Usage in Laravel: class EcsFormatter {...
ecs-logging-java does a similar thing
This fixes the fact that tracing wasn’t being json serialized and it was adding the tracing fields to a `tracing` field.
Some package version updates & PSR12 fixes
`PHP message: PHP Notice: Undefined property: Elastic\\Monolog\\Formatter\\ElasticCommonSchemaFormatter::$maxNormalizeDepth in /var/www/vendor/elastic/ecs-logging/src/Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php on line 60` `PHP 7.4.18 (cli) (built: May 3 2021 12:02:44) ( NTS ) Copyright (c) The PHP Group Zend Engine...
Hi guys , would you please point some working examples for this library ? Is it possible to post resulting json into elastic search api ? how to do ?...
Would be nice if we could use ECS with ` Monolog\Handler\ElasticsearchHandler` to send the logs directly to elastic search Unfortunately it now throws with `Uncaught InvalidArgumentException: ElasticsearchHandler is only compatible...