tyk icon indicating copy to clipboard operation
tyk copied to clipboard

[TT-2394] - Detailed Logging - More options of what gets recorded

Open sedkis opened this issue 5 years ago • 6 comments

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.

sedkis avatar Jun 21 '19 20:06 sedkis

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

letzya avatar Jun 22 '19 06:06 letzya

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 avatar Jun 25 '19 21:06 hoitomt

@hoitomt I couldn't agree more. That use case is exactly what brought this feature request.

sedkis avatar Jun 25 '19 22:06 sedkis

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.

stale[bot] avatar Mar 25 '20 16:03 stale[bot]

Please keep open.

l3ender avatar Mar 25 '20 18:03 l3ender

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.

andyo-tyk avatar Apr 03 '23 15:04 andyo-tyk