エクスポート履歴の照会
    • PDF

    エクスポート履歴の照会

    • PDF

    記事の要約

    説明

    Cloud Log Analyticsで Object Storageにエクスポートした履歴を照会します。ページング処理できます。

    リクエスト

    リクエスト URL

    GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/export/history
    

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表し、
    API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-apigw-api-keyAPIGWから発行されたキー値
    x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルから発行された Access Key ID値
    x-ncp-apigw-signature-v2Access Key ID値と Secret Keyで暗号化した署名
    Content-TypeRequest body content typeを application/jsonに指定

    リクエストパラメータ

    パラメータタイプ要否説明
    pageNoIntegerYページ番号
    ex) 1, 2
    pageSizeIntegerYページサイズ
    ex) 10, 20

    リクエスト例

    GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/export/history?pageNo=1&pageSize=10
    HOST: cloudloganalytics.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
    
    curl -X GET "https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/export/history?pageNo=1&pageSize=10" 
    -H "accept: application/json" 
    -H "x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo" 
    -H "x-ncp-apigw-timestamp: 1593849262194" 
    -H "x-ncp-apigw-signature-v2: m/hJOfg92TqzOGyHJ++4vkimGT7un1/4+zLrLTvaVT4=" 
    

    レスポンス例

    {
      "code": 0,
      "message": "リクエストが正常に処理されました",
      "result": {
        "pageSize": 10,
        "currentPage": 1,
        "totalPage": 95,
        "totalCount": 944,
        "isPaged": true,
        "exporthistoryInfo": [
          {
            "start_ymdt": "2020-07-07 13:00:39",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707130039/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 12:00:40",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707120040/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 11:44:04",
            "export_types": "Manual",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707114404/",
            "log_types": "all",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 11:43:53",
            "export_types": "Manual",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707114353/",
            "log_types": "all",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 11:40:25",
            "export_types": "Manual",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707114025/",
            "log_types": "all",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 11:28:11",
            "export_types": "Manual",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707112811/",
            "log_types": "all",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 11:00:40",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707110040/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 10:00:40",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707100040/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 09:00:40",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707090040/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          },
          {
            "start_ymdt": "2020-07-07 08:00:39",
            "export_types": "Auto",
            "regionNo": "1",
            "bucketName": "asdcx",
            "folderName": "CLA-20200707080039/",
            "log_types": "cdb_mysql_error,security_log",
            "status": "complete",
            "progress": 100,
            "description": ""
          }
        ]
      }
    }
    

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

    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.