LaravelPackages.net
Acme Inc.
Toggle sidebar
pavel-marachkov/laravel-elk-log

Integrate laravel with elastic search for sending all logs to elastic search

7.726
0
3.0.3
About pavel-marachkov/laravel-elk-log

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

Laravel with ElasticSearch Implementation

This package is fork from ahmedofali/laravel-elk-log. That package is a simple initializer of elasticsearch logs for Kibana with laravel.

Installation

Install the package via composer:

composer require pavel-marachkov/laravel-elk-log

Usage

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.

Credits

Star History Chart