エクスポート履歴の照会
- 印刷する
- PDF
エクスポート履歴の照会
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
説明
Cloud Log Analyticsで Object Storageにエクスポートした履歴を照会します。ページング処理できます。
リクエスト
リクエスト URL
GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/export/history
リクエストヘッダ
ヘッダ名 | 説明 |
---|---|
x-ncp-apigw-timestamp | 1970年1月1日00:00:00協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表し、 API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす |
x-ncp-apigw-api-key | APIGWから発行されたキー値 |
x-ncp-iam-access-key | NAVERクラウドプラットフォームポータルから発行された Access Key ID値 |
x-ncp-apigw-signature-v2 | Access Key ID値と Secret Keyで暗号化した署名 |
Content-Type | Request body content typeを application/jsonに指定 |
リクエストパラメータ
パラメータ | タイプ | 要否 | 説明 |
---|---|---|---|
pageNo | Integer | Y | ページ番号 ex) 1, 2 |
pageSize | Integer | Y | ページサイズ 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": ""
}
]
}
}
この記事は役に立ちましたか?