Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reasno/elklogger
ELK logger for laravel 5
https://github.com/reasno/elklogger
elk-stack laravel
Last synced: 12 days ago
JSON representation
ELK logger for laravel 5
- Host: GitHub
- URL: https://github.com/reasno/elklogger
- Owner: Reasno
- Created: 2018-04-26T03:13:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T11:30:46.000Z (over 6 years ago)
- Last Synced: 2024-12-05T23:15:44.956Z (about 1 month ago)
- Topics: elk-stack, laravel
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ElkLogger
This package is to be used in conjunction with laravel.## Installation
```bash
composer require reasno/elk-logger
```## Configuration
In your config/Logger.php, add a new channel:
```php
return [
//...
'custom' => [
'driver' => 'custom',
'via' => Reasno\ElkLogger\ElkLogger::class,
'level' => 'info',
'password' => "XXXXXXX",
'host' => '127.0.0.1',
'port' => XXXX,
'type' => 'some unique id'
],
//...
];
```
Then configure your app to use this channel for logging.