What is StorageGRID nms.requestlog message format?
This is an internal KB article and intended for technical support use only |
Applies to
StorageGRID 11.5 or later
Answer
/var/local/log/nms.requestlog
is a new log in StorageGRID 11.5. The format is:<severity>, [<logged time> #<logger internal information>] <severity> -- : [<start time>] <HTTP method> <masked URL> | <response code> <response reason phrase> | <request response time in seconds>
Example:
I, [2021-09-09T01:18:18.269703 #13911] INFO -- : [2021-09-09T01:18:18.259] GET https://DC1-S2:18000/v1/accounts/32788692368787645539/endpoints?limit=25 | 200 OK | 0.010069141
E, [2021-09-16T01:19:20.187951 #14324] ERROR -- : [2021-09-16T01:19:20.178] GET https://DC1-S3:18000/v1/accounts/32788692368787645530 | 404 Not Found | 0.009540511