{
"info": {
"author": "Jannis Gebauer",
"author_email": "ja.geb@me.com",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
"description": "============\ndjango-fluentd\n============\n\ndjango-fluentd allows you to use django's logging framework to log directly to a fluentd server of your choice.\n\nPlease consider the package as unstable and don't use it for production, yet.\n\nInstallation\n============\n\nwith pip::\n\n pip install django-fluentd\n\n**or**\n\nwith setup.py::\n\n git clone https://github.com/jayfk/django-fluentd.git\n cd django-fluentd\n python setup.py install\n\nConfiguration\n============\n\nAdd the following to your settings.py::\n\n DJANGO_FLUENTD_SERVER = \"10.10.10.10\"\n DJANGO_FLUENTD_PORT = 24224 #no string\n DJANGO_FLUENTD_TAG = \"your_fluentd_tag\"\n\nAdd the fluentd handler to your LOGGING dict in your settings.py and add this handler to one of your loggers::\n\n LOGGING = {\n \n ...\n \n 'handlers':{\n 'fluentd': {\n 'level': 'DEBUG',\n 'class': 'django_fluentd.handler.FluentdHandler',\n },\n }\n \n ...\n \n 'loggers': {\n 'django': {\n 'handlers': ['fluentd',],\n 'level': 'DEBUG',\n 'propagate': False,\n },\n },\n }\n\nIf you want to capture all logging messages using fluentd, you can add a root handler::\n\n LOGGING = {\n ...\n\n 'root': {\n 'level': 'DEBUG',\n 'handlers': ['fluentd'],\n },\n\n ...\n }\n\nFurther information on how to use django's logging framework can be found here: https://docs.djangoproject.com/en/dev/topics/logging/\n\nFluentd Server Setup\n============\n\nYour Fluentd Server should listen on the ip and the port you specified in ``DJANGO_FLUENTD_SERVER`` and ``DJANGO_FLUENTD_PORT``::\n\n \n type forward\n port 24224\n bind 10.10.10.10\n \n\nPlease not that you currently can't use fluentd's secure_forward. If you want to send encrypted or authenticated messages\nto another fluentd server on the net, you'll have to add a local fluentd server that accepts unencrypted messages and forwards\nthem using secure_forward::\n\n \n type forward\n port 24224\n bind 10.10.10.10\n \n\n \n type secure_forward\n shared_key foobar\n self_hostname example.org\n send_timeout 60s\n recover_wait 10s\n heartbeat_interval 1s\n phi_threshold 8\n hard_timeout 60s\n\n \n name remote_server_name\n host 10.10.10.11\n port 24224\n username your_username\n password your_password\n \n\n \n\nFurther information on how to use fluentd can be found here: http://fluentd.org/",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://www.github.com/jayfk/django-fluentd",
"keywords": null,
"license": "MIT",
"maintainer": null,
"maintainer_email": null,
"name": "django-fluentd",
"package_url": "https://pypi.org/project/django-fluentd/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/django-fluentd/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://www.github.com/jayfk/django-fluentd"
},
"release_url": "https://pypi.org/project/django-fluentd/0.1/",
"requires_dist": null,
"requires_python": null,
"summary": "Fluentd bindings for django",
"version": "0.1"
},
"last_serial": 1835735,
"releases": {
"0.1": []
},
"urls": []
}