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
==============
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 | RSS feed
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.2.tar.gz
(1.7 kB
view details)
File details
Details for the file django-riemann-0.0.2.tar.gz
.
File metadata
- Download URL: django-riemann-0.0.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1245fba2db6b741f6f8cbf6ca859fa5007e5b3b6f95f4403a00f79cfacba5810 |
|
MD5 | 7e9bccc843223332f94b4de394429b8b |
|
BLAKE2b-256 | 43cf5e0af3e6ef5034b8c2438942bfadb34803268f07eb5501779e2f27bfa4b2 |