HTTP Request/Response Body Size truncated in APM CE (CEM) defect.

Document ID : KB000013442
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

For some APM CE (CEM) defects, the HTTP request/response body is truncated after 1020 characters.

Question:

  Is HTTP request/response body size truncation a known issue? Is this length hardcoded in CEM?

Environment:
All APM releases with CEM enabled.
Answer:

The maximum size for the captured HTTP request body/HTTP response body are controlled by the following properties:

MaxDefectRequestBodySize
MaxDefectResponseBodySize

Below an excerpt of the guide regarding the above two properties:

Changing the maximum size of the captured response body

By default, the first 10 KB of the response body can be captured. If wanting to capture more or less of the response body, then follow these steps:


1. Access the TIM Setup page.
    a. In the CEM console, select Setup, Monitors.
        b. Click the IP address of the TIM (far right column).
        c.  Enter the user name and password.
        The default user name for the System Setup pages is admin.
        The TIM System Setup page appears.
2. Click Configure TIM Settings.
        The TIM Settings page appears.   
3. Click MaxDefectResponseBodySize.
4. In the New value field, enter the maximum size (in bytes) that you want to capture.
        The allowed range is between 0 and 200000 (~200 KB).
        Do not set this to a larger value than necessary. A large value takes more time to process and more database space to store.
5. Click Change.
        The change takes place immediately. There is no need to restart the TIM.
        If you have multiple TIMs, then repeat the above steps for each TIM.



Changing the maximum size of request body information displayed

By default, the first 1,024 bytes of request body information can be viewed with a defect. If permitted, you can edit this value to view more or less information.

Follow these steps:

1. Access the TIM Setup page.
        a. In the CEM console, select Setup, Monitors.
        b. Click the IP address of the TIM (far right column).
        c. Enter the user name and password.
2. The default user name for the System Setup pages is admin.
        The TIM System Setup page appears.
3. Click Configure TIM Settings.
        The TIM Settings page appears.
4. Click MaxDefectRequestBodySize.
        In the New value field, enter the maximum size (in bytes) that you want to be able to view.
        Do not set this to a larger value than necessary.  A large value takes more time to process and more database space to store.
5. Click Change.
        The change takes place immediately. There is no need to restart the TIM.
        If you have multiple TIMs, repeat the above steps for each TIM.

Additional Information: