eea / eea.graylogger

Other
1 stars 1 forks source link

============== EEA Graylogger

.. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.graylogger/develop :target: https://ci.eionet.europa.eu/job/eea/job/eea.graylogger/job/develop/display/redirect :alt: develop .. image:: https://ci.eionet.europa.eu/buildStatus/icon?job=eea/eea.graylogger/master :target: https://ci.eionet.europa.eu/job/eea/job/eea.graylogger/job/master/display/redirect :alt: master

GELF (Graylog Extended Log Format) for Zope event logs

Contents

.. contents::

Main features

  1. Sends Zope event logs to Graylog_ instead of a file.

Install

Plone 5.2+ (WSGI)

See graypy_ documentation for more details.

Alternatively, you can skip -log-args and -log-kwargs and use environment variables to define Graylog host:port and facility:

::

[instance]
eggs +=
    eea.graylogger

event-log-handler = eea.graylogger.GELFHandler
access-log-handler = eea.graylogger.GELFHandler

Plone < 5.2 (non-WSGI)

Getting started

  1. Install Graylog server or use Graylog2 Docker image
  2. Restart Zope
  3. Go to http://localhost:9000 to see your Zope logs

Configuration parameters

GELFHandler

GELFRabbitHandler

Dependencies

  1. Graylog_ server
  2. graypy_ >= 2.1.0
  3. plone.recipe.zope2instance_ >= 6.5.0

Source code

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

The EEA Graylogger (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

More details under docs/License.txt

Funding

EEA_ - European Environment Agency (EU)

.. EEA: https://www.eea.europa.eu/ .. Graylog: https://www.graylog.org .. graypy: https://pypi.org/project/graypy/ .. Graylog2 Docker image: https://github.com/eea/eea.docker.graylog2 .. eea.graylogger: https://github.com/eea/eea.graylogger .. plone.recipe.zope2instance: https://pypi.org/project/plone.recipe.zope2instance