Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Send logging data to Riemann

Project description

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

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

[1]: http://riemann.io/

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


Release history Release notifications

This version
History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-riemann-0.0.2.tar.gz (1.7 kB) Copy SHA256 hash SHA256 Source None Mar 15, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page