tyk
tyk copied to clipboard
[TT-2394] - Detailed Logging - More options of what gets recorded
Do you want to request a feature or report a bug? Feature
What is the current behavior? When we activate Detailed Logging, the Gateway stores the header/request/response.
What is the expected behavior? Be able to select only the parts I want to store and ignore the rest.
Use case:
- make this feature used in production
- sometimes the body is really too big, even for dev env and we just want to see the headers
- sometimes response is not important to me, just request and vice versa
I'm assuming that if we add it to the logging that it would also show up in the debugging tab in the Dashboard as well. Optimally the log would show the entire URL that was forwarded by Tyk to the downstream API. Also the request body for POST, PUT, and PATCH.
This would be a useful tool for developing API Rewrite rules. It could be used to show how the URL was rewritten.
@hoitomt I couldn't agree more. That use case is exactly what brought this feature request.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, please add comments to this ticket if you would like it to stay open. Thank you for your contributions.
Please keep open.
This is logged on our product roadmap along with other suggestions around improving the flexibility of analytics; the future direction of Tyk is towards a more rounded observability solution using Open Telemetry, so this may be picked up in that work. I will update this ticket as and when we implement something. Thank you for supporting Tyk.