View CA Pod's log
- Print
- PDF
View CA Pod's log
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View CA node's log.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}/logs
Request Parameter
Parameter Name | Required status | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
caId | Yes | String | Path Parameter | CA ID |
tailLines | No | Integer | Query Parameter | Number of log lines to view, default : 1000 |
Example of Request
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas/{caId}/logs?tailLines=1000 \
-H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
-H "x-ncp-iam-access-key: {x-ncp-iam-access-key}" \
-H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
-H "accept: text/plain"
Response
Response Body
- content-type: text/plain;charset=UTF-8
Category | Type | Description |
---|---|---|
status | String | Indicates whether response was successful |
row text | text/plain | log |
Example of Response
2021/12/01 18:56:49 [INFO] 198.18.0.163:48860 GET /cainfo 200 0 "OK"
2021/12/01 18:56:53 [INFO] 198.18.0.163:48894 GET /cainfo 200 0 "OK"
2021/12/01 18:56:59 [INFO] 198.18.0.163:48936 GET /cainfo 200 0 "OK"
2021/12/01 18:57:03 [INFO] 198.18.0.163:48972 GET /cainfo 200 0 "OK"
2021/12/01 18:57:09 [INFO] 198.18.0.163:49014 GET /cainfo 200 0 "OK"
2021/12/01 18:57:13 [INFO] 198.18.0.163:49050 GET /cainfo 200 0 "OK"
2021/12/01 18:57:19 [INFO] 198.18.0.163:49090 GET /cainfo 200 0 "OK"
2021/12/01 18:57:23 [INFO] 198.18.0.163:49124 GET /cainfo 200 0 "OK"
2021/12/01 18:57:29 [INFO] 198.18.0.163:49166 GET /cainfo 200 0 "OK"
2021/12/01 18:57:33 [INFO] 198.18.0.163:49202 GET /cainfo 200 0 "OK"
2021/12/01 18:57:39 [INFO] 198.18.0.163:49246 GET /cainfo 200 0 "OK"
2021/12/01 18:57:43 [INFO] 198.18.0.163:49282 GET /cainfo 200 0 "OK"
...
Was this article helpful?