Skip to main content

GELF (Graylog Extended Log Format) for Zope

Project description

http://ci.eionet.europa.eu/job/eea.graylogger-www/badge/icon http://ci.eionet.europa.eu/job/eea.graylogger-plone4/badge/icon

GELF (Graylog Extended Log Format) for Zope event logs

Contents

Main features

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

Install

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

  • rabbit - True if you want to use GELFRabbitHandler instead of GELFHandler. See graypy documentation for more details.

GELFHandler

  • server - the host[:port] of the graylog server.

  • chunk_size - message chunk size. messages larger than this size will be sent to graylog in multiple chunks (default 1420).

  • debugging_fields - send debug fields if true (the default).

  • extra_fields - send extra fields on the log record to graylog if true (the default).

  • fqdn - use fully qualified domain name of localhost as source host (socket.getfqdn()).

  • localname - use specified hostname as source host.

  • facility - replace facility with specified value. if specified, record.name will be passed as logger parameter.

GELFRabbitHandler

  • server - RabbitMQ URL (ex: amqp://guest:guest@localhost:5672/%2F).

  • exchange - RabbitMQ exchange. Default ‘logging.gelf’. A queue binding must be defined on the server to prevent log messages from being dropped.

  • debugging_fields - send debug fields if true (the default).

  • extra_fields - send extra fields on the log record to graylog if true (the default).

  • fqdn - use fully qualified domain name of localhost as source host - socket.getfqdn().

  • exchange_type - RabbitMQ exchange type (default fanout).

  • localname - use specified hostname as source host.

  • facility - replace facility with specified value. if specified, record.name will be passed as logger parameter.

Dependencies

  1. Graylog server

  2. graypy

Source code

Funding

EEA - European Environment Agency (EU)

Changelog

1.0 - (2015-05-05)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eea.graylogger-1.0.zip (22.7 kB view details)

Uploaded Source

File details

Details for the file eea.graylogger-1.0.zip.

File metadata

  • Download URL: eea.graylogger-1.0.zip
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eea.graylogger-1.0.zip
Algorithm Hash digest
SHA256 78c3b4a0a3bd83fc2abbbff99604f4a983902d3377e2f4e097c857138400f47f
MD5 626555f270e358c64afa495d6035d9f7
BLAKE2b-256 f5e8b08ced89ada48366c8269aa8a0832e3038bf813b34600b9b0abfabc02f6e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page