2017 © Pedro Peláez
 

library monolog-elasticsearch

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

image

atrapalo/monolog-elasticsearch

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

  • Friday, February 12, 2016
  • by atrapalo
  • Repository
  • 14 Watchers
  • 8 Stars
  • 5,351 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 3 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

Monolog Elasticsearch handler and formatter

This extremely simple library provide of an elasticsearch handler and formatter which makes use of the official PHP Elasticsearch client., (*1)

Build Status Scrutinizer Code Quality, (*2)

Usage

<?php

use Atrapalo\Monolog\Handler\ElasticsearchHandler;
use Elasticsearch\ClientBuilder;
use Monolog\Logger;

$logger = new Logger('application');
$logger->pushHandler(
    new ElasticsearchHanler($client, ['index' => 'logs', 'type' => 'log'])
);

Installation

This library can be installed through composer, (*3)

composer require atrapalo/monolog-elasticsearch

Requirements

In order to make use of this library you will need, (*4)

  • Monolog
  • An elasticsearch instance

Contributing

See CONTRIBUTING file., (*5)

Running the Tests

php bin/phpunit

Credits

Contributor Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See CODE_OF_CONDUCT.md file., (*6)

License

Monolog-Elasticsearch handler is released under the MIT License. See the bundled LICENSE file for details., (*7)

The Versions

12/02 2016

dev-master

9999999-dev

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Soronellas

logger log psr-3 logging monolog elasticsearch psr3 elastic

12/02 2016

v1.0.1

1.0.1.0

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Soronellas

logger log psr-3 logging monolog elasticsearch psr3 elastic

03/12 2015

v1.0.0

1.0.0.0

A Monolog handler and formatter that makes use of the elasticsearch/elasticsearch package

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Soronellas

logger log psr-3 logging monolog elasticsearch psr3 elastic