Integrate laravel with elastic search for sending all logs to elastic search
pavel-marachkov/laravel-elk-log is a Laravel package for integrate laravel with elastic search for sending all logs to elastic search .
It currently has 0 GitHub stars and 7.726 downloads on Packagist (latest version 3.0.3).
Install it with composer require pavel-marachkov/laravel-elk-log.
Discover more Laravel packages by pavel-marachkov
or browse all Laravel packages to compare alternatives.
Last updated
This package is fork from ahmedofali/laravel-elk-log. That package is a simple initializer of elasticsearch logs for Kibana with laravel.
Install the package via composer:
composer require pavel-marachkov/laravel-elk-log
Run the below command to get installation tips.
php artisan elk:installTips
Merge this with logging.php config file
return [
'channels' => [
'elastic' => [
'driver' => 'monolog',
'handler' => ElkHandler::class,
'level' => 'notice',
'formatter' => KibanaFormatter::class
],
],
];
After you publish config file you will find new config file called elk.php add your environment configuration, and you are ready to go with elasticsearch.