How to read S3 request in bycast.log
Applies to
- StorageGRID
/var/local/log/bycast.log
Answer
Example:
Aug 16 11:09:40 SG01-N03 ADE: |12141310 1895962048 S3RQ %CEA 2021-08-16T11:09:40.889848| NOTICE 1350 e5ad948e80a70800 S3RQ: EVENT_PROCESS_CREATE - connection=1629112139354560 method=HEAD name=</Commvault/H3YRCS_09.28.2020_12.49/CV_MAGNETIC/V_17426926/CHUNK_48770142/SFILE_CONTAINER_041.FOLDER/4> auth=<V2> clientIP=<0.0.0.0>
SG01-N03: node name - 12141310: node ID (LDR ID)
- 1895962048: S3RQ process ID. Generated when S3 request is received.
- connection=1629112139354560: HTSM (HttpSessionModule) session ID. This ID can change or stay the same for multiple S3 requests.
- method: type of S3 request, like GET, PUT, HEAD, DEL
- clientIP: IP of requester, but in reality likely to be IP of Loadbalancer unless
x-forwarded
header is used in request.
If the request is successful there will be no further logging for that operation.
If the request fails there will a logging like this:
Aug 16 11:09:40 SG01-N03 ADE: |12141310 1895962048 S3RQ %DED 2021-08-16T11:09:40.891768| NOTICE 0090 e5ad948e80a70800 S3RQ: S3 error response: RequestId=1629112139354560, TraceId=e5ad948e80a70800, Resource=/Commvault/H3YRCS_09.28.2020_12.49/CV_MAGNETIC/V_17426926/CHUNK_48770142/SFILE_CONTAINER_041.FOLDER/4, HTTP Status Code=503, ErrorMsg=ServiceUnavailable, ErrorType=Client, CustomErrorMessage={<none>}, Details={<none>}
- RequestId: Connection ID of the according request
- HTTP Status Code: Standard HTTP Code
- To search for errors :
grep Code= bycast.log
Additional Information