How to collect number of byte received by the server on HTTP requests in JBoss access logging
Issue
Is it possible to customize the access log format of JBoss EAP 6 to log number of byte received by the server on the HTTP requests?
I saw this article to enable access logging for JBoss EAP 6.x but there's no pattern for number of byte received.
The following CLI can show bytesReceived
, which is total number of byte received by the connector. But this is not number of byte received by the server on each HTTP request.
/subsystem=web/connector=http:read-resource(include-runtime=true)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.