You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (TypeError(code: 0): Monolog\Handler\ElasticsearchHandler::__construct(): Argument #1 ($client) must be of type Elasticsearch\Client, Elastic\Elasticsearch\Client given, called in /app/Providers/ElasticLogProvider.php on line 44 at /vendor/monolog/monolog/src/Monolog/Handler/ElasticsearchHandler.php:60)
400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"},"status":400}
@davidfabbretti the _type is not supported anymore in Elasticsearch 8. This parameter has been deprecated in Elasticsearch 7, read here for more details.
monolog/src/Monolog/Handler/ElasticsearchHandler.php
Line 21 in 4192345
Must be:
use Elastic\Elasticsearch\Client;
AND
monolog/src/Monolog/Handler/ElasticsearchHandler.php
Line 138 in 4192345
Unsupported _type tag
The text was updated successfully, but these errors were encountered: