Add cs-bytes and sc-bytes to the W3CLogger
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
### Is your feature request related to a problem? Please describe.
As our company migrates from mainly Windows/IIS/Full Framework to more and more Linux/Kestrel/.NET 6, we'd like to continue feeding our web server access (W3C) logs into our Elastic stack. Our current IIS logs include fields that indicate the size of each request and response (in bytes) in fields named cs-bytes (client-to-server) and sc-bytes (server-to-client). We noticed that the new W3CLogger doesn't include these fields, which can be very handy when troubleshooting issues and monitoring system health.
### Describe the solution you'd like
We'd like to see cs-bytes and sc-bytes be new fields added to the W3CLogger. This would include seeing these fields on the `Microsoft.AspNetCore.HttpLogging.W3CLoggingFields` enum.
### Additional context
Add any other context or screenshots about the feature request here.
Contributor guide
Assessment
This issue has not been assessed yet.