Skip to main content

Send logging data to Riemann

Project description

django-riemann
==============

Send logging information to a Riemann instance via Django's `LOGGING`
directive.

Installl
--------

```
pip install django-riemann
```

Fields
------

```
host: the host name of the app that is sending the logs
service: 'django-logger'
state: log level
time: time of the log event
tags: logger name
description: traceback if available
```

Configuration
-------------



``` python
RIEMANN_LOGGER_HOST = '127.0.0.1'
RIEMANN_LOGGER_PORT = '5555'
RIEMANN_LOGGER_TRANSPORT = 'udp' # or 'tcp'


LOGGING = {
...
'handlers': {
'riemann': {
'level': 'INFO',
'class': riemann.handler.RiemannHandler'
}
}
}
LOGGING['root']['handlers'].append('riemann')
```

License
-------

BSD, short and sweet

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

django-riemann-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

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