{"id":18390113,"url":"https://github.com/elafarge/django-fluentd-requests-logging","last_synced_at":"2025-04-07T02:35:00.788Z","repository":{"id":57420128,"uuid":"77872190","full_name":"elafarge/django-fluentd-requests-logging","owner":"elafarge","description":"[DEPRECATED] A minimalistic, yet powerful, Django middleware that forwards django request logs to an HTTP fluentd server.","archived":false,"fork":false,"pushed_at":"2019-10-23T00:29:11.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T15:16:44.726Z","etag":null,"topics":["django","fluentd","fluentd-http","http","logging","middleware"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elafarge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T00:58:14.000Z","updated_at":"2017-09-26T09:47:59.000Z","dependencies_parsed_at":"2022-09-10T14:10:30.688Z","dependency_job_id":null,"html_url":"https://github.com/elafarge/django-fluentd-requests-logging","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elafarge%2Fdjango-fluentd-requests-logging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elafarge%2Fdjango-fluentd-requests-logging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elafarge%2Fdjango-fluentd-requests-logging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elafarge%2Fdjango-fluentd-requests-logging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elafarge","download_url":"https://codeload.github.com/elafarge/django-fluentd-requests-logging/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247583628,"owners_count":20962063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","fluentd","fluentd-http","http","logging","middleware"],"created_at":"2024-11-06T01:46:18.223Z","updated_at":"2025-04-07T02:34:56.375Z","avatar_url":"https://github.com/elafarge.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Django Request Logger for FluentD-HTTP\n======================================\n\nDEPRECATION NOTICE\n------------------\n\n**This project won't be maintained anymore**, you can consider alternatives such\nas [django-logging-json](https://github.com/cipriantarta/django-logging). Which\nis much better anyways. I won't be writing a single line of code for Django\nanymore :)\n\nLogs Django requests and response metadata as well as the request and response\nbodies optionally.\n\nTheses logs are formatted as JSON for a better compliance with modern document\nindexing and processing solutions (who said Elasticseach ?).\n\nAll you have to do is setup a fluentd HTTP receiver and adapt the configuration\nin Django accordingly (that simply goes in your traditionnal Django\n`settings.py` file):\n\n```shell\n * HOST: fluentd server hostname (default: localhost)\n * PORT: fluentd http server port (default: 24224)\n * ENV : adds a \"fluentd_environment\" tag to log document (default: None)\n * TAG : tag identifying the source in fluentd pipelines (default\n         django.requests)\n * FLUSH_PERIOD: the interval between two flushes of the fluentd push queue\n                 (allows for CPU consumption shaping)\n * DROP_SIZE: when there are more logs that DROP_SIZE in the push queue, older\n              logs will be flushed\n * RETRY_INTERVAL: time to wait before trying again a failed request\n * IGNORE_REQUESTS: (Python) list of (method, path, response_code) tuples for\n                    which not to forward requests (useful for health checks for\n                    instance)\n * FIELDS_TO_OBFUSCATE: a Python list of fields (such as\n                        \"requests.headers.authorization\" to obfuscate. Passwords\n                        and API keys mostly ;-) The value of these fields will\n                        be replaced with \"OBFUSCATED\" before anything is\n                        forwarded to fluentd.\n```\n\nLicense\n-------\nMIT\n\nMaintainers\n-----------\n * Etienne Lafarge \u003cetienne@rythm.co\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felafarge%2Fdjango-fluentd-requests-logging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felafarge%2Fdjango-fluentd-requests-logging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felafarge%2Fdjango-fluentd-requests-logging/lists"}