CAポッドのログを表示する
    • PDF

    CAポッドのログを表示する

    • PDF

    Article Summary

    CAノードのログを表示します。

    リクエスト

    リクエスト URL

    GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}/logs
    

    リクエストパラメーター

    Parameter NameRequired statusTypeRestrictionDescription
    networkIdYeslongPath ParameterNetwork ID
    caIdYesStringPath Parameter CA ID
    tailLinesNoIntegerQuery ParameterNumber of log lines to view, default : 1000

    リクエストの例

    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"
    

    レスポンス

    レスポンス Body

    • content-type: text/plain;charset=UTF-8
    CategoryTypeDescription
    statusStringIndicates whether response was successful
    row texttext/plainlog

    レスポンスボディ

    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"
    ...
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.