Elasticsearch Logger Middleware for FastAPI
Project description
Elasticsearch Logger Middleware for FastAPI
This middleware enables logging of requests and responses to Elasticsearch in a FastAPI application. It provides detailed logs including request method, URL path, query parameters, request and response headers, status code, and response body.
Installation
You can install the middleware via pip:
pip install fastapi-elasticsearch-middleware
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
Built Distribution
Close
Hashes for fastapi_elasticsearch_middleware-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f8b036ceeaaf2fd3b4fdcb6e24a12a05aba115fb2bae1f2ce58b4f4ab358af7 |
|
MD5 | 9c1e4426657f2da6ce3672a0d7c6fea2 |
|
BLAKE2b-256 | 30e2e53f3a4d5c94ca8239ccb5589f6638c0bb2a0b3c7d58e3006abe54b6b936 |
Close
Hashes for fastapi_elasticsearch_middleware-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc035c2ed1a4c1741ed456c2103c52374c549c3dbdaa9330250810f4752b78f7 |
|
MD5 | 8a9fd6af352ff73197ebfe8bda65a068 |
|
BLAKE2b-256 | 7b2e1bc4900855a84673d9f342d1dd546e7743b58307cb53fe3d8c44d6067c06 |