PHPackages                             upaid/elk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. upaid/elk

ActiveLibrary

upaid/elk
=========

ELK Logger for Laravel

1.0.2(6y ago)1411.9k↓36.7%3MITPHPCI failing

Since Oct 10Pushed 6y ago3 watchersCompare

[ Source](https://github.com/uPaid/laravel-elk)[ Packagist](https://packagist.org/packages/upaid/elk)[ Docs](https://github.com/uPaid/laravel-elk)[ RSS](/packages/upaid-elk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

ELK
===

[](#elk)

Laravel logger for formatting logs for ELK.
Adds support for trace / span id according to the format used by Spring Cloud Sleuth. Adds also a few additional fields.

Installation
------------

[](#installation)

#### Via Composer

[](#via-composer)

```
$ composer require upaid/elk
```

#### Publish the config

[](#publish-the-config)

Run the following command to publish the package config file:

```
php artisan vendor:publish --provider="Upaid\Elk\Providers\ElkServiceProvider"

```

#### Add keys to .env

[](#add-keys-to-env)

```
ELK_SERVICE_NAME='app name'
ELK_BANKNAME='bank name'
ELK_CHANNEL='channel for recognizing applications by logstash'

```

#### Or override config file

[](#or-override-config-file)

```
