elastic / ecs-logging-php

Apache License 2.0
19 stars 35 forks source link

[Feature Request] Compatibility with elasticsearchHandler #14

Open DRoet opened 4 years ago

DRoet commented 4 years ago

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 with ElasticsearchFormatter.