Insight イベントをクエリします。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| NextToken |
string |
任意 |
ページングに使用されるトークンです。
|
VjE6dLbnNpVmbz06**** |
| MaxResults |
string |
任意 |
返す結果の最大数です。
|
20 |
| StartTime |
string |
任意 |
クエリする時間範囲の開始時刻です。デフォルト値は、現在の時刻の 7 日前です。 時刻は UTC で、 説明
|
2026-01-07T04:10:00Z |
| EndTime |
string |
任意 |
クエリする時間範囲の終了時刻です。デフォルト値は現在の時刻です。 時刻は UTC で、 |
2026-01-07T07:10:00Z |
| LookupAttribute |
array<object> |
任意 |
クエリ条件の配列です。 説明
|
|
|
object |
任意 |
クエリ条件です。 |
||
| Key |
string |
任意 |
クエリ条件のキーです。有効な値の詳細については、「LookupAttribute パラメーターを設定して Insight イベントをクエリする」をご参照ください。 |
InsightType |
| Value |
string |
任意 |
クエリ条件の値です。有効な値の詳細については、「LookupAttribute パラメーターを設定して Insight イベントをクエリする」をご参照ください。 |
IpInsight |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Events |
array<object> |
Insight イベントオブジェクトのリストです。 |
|
|
object |
Insight イベントオブジェクトです。 |
{ "eventId": "408ACD94-4531-4D66-BA14-1F7248AC****", "eventCategory": "Insight", "sharedEventId": "55CF0739-97D8-4221-A6BE-8E60E746****", "eventVersion": "1", "eventTime": "2026-01-07T05:40:00Z", "insightDetails": { "insightContext": { "attributions": [ { "insight": [ { "average": 3, "value": "AlibabaCloud API Workbench" } ], "attribute": "userAgent" }, { "insight": [ { "average": 3, "value": "20376656170607****" } ], "attribute": "principalId" }, { "insight": [ { "average": 3, "value": "Actiontrail/EnableInsight" } ], "attribute": "apiRelated" }, { "insight": [ { "average": 3, "value": "null" } ], "attribute": "errorCode" } ], "statistics": { "insight": { "average": 3, "predict": 0 }, "insightDuration": 1, "baseline": { "threshold": 0.6 }, "insightCount": 3 } }, "state": "Start", "insightType": "IpInsight", "insightObject": "xxx.xxx.xxx.xxx" }, "acsRegion": "cn-qingdao", "eventType": "ActionTrailInsight" } |
|
| NextToken |
string |
ページネーショントークンです。現在の呼び出しですべての結果が返されない場合、 |
VjE6bHJlTGoxdm1M**** |
| RequestId |
string |
リクエスト ID です。 |
851038F3-33AB-4C49-97D7-6AB37D35**** |
例
成功レスポンス
JSONJSON
{
"Events": [
{
"eventId": "408ACD94-4531-4D66-BA14-1F7248AC****",
"eventCategory": "Insight",
"sharedEventId": "55CF0739-97D8-4221-A6BE-8E60E746****",
"eventVersion": "1",
"eventTime": "2026-01-07T05:40:00Z",
"insightDetails": {
"insightContext": {
"attributions": [
{
"insight": [
{
"average": 3,
"value": "AlibabaCloud API Workbench"
}
],
"attribute": "userAgent"
},
{
"insight": [
{
"average": 3,
"value": "20376656170607****"
}
],
"attribute": "principalId"
},
{
"insight": [
{
"average": 3,
"value": "Actiontrail/EnableInsight"
}
],
"attribute": "apiRelated"
},
{
"insight": [
{
"average": 3,
"value": "null"
}
],
"attribute": "errorCode"
}
],
"statistics": {
"insight": {
"average": 3,
"predict": 0
},
"insightDuration": 1,
"baseline": {
"threshold": 0.6
},
"insightCount": 3
}
},
"state": "Start",
"insightType": "IpInsight",
"insightObject": "xxx.xxx.xxx.xxx"
},
"acsRegion": "cn-qingdao",
"eventType": "ActionTrailInsight"
}
],
"NextToken": "VjE6bHJlTGoxdm1M****",
"RequestId": "851038F3-33AB-4C49-97D7-6AB37D35****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncompleteSignature | The request signature does not conform to Alibaba Cloud standards. | The request signature does not conform to Alibaba Cloud standards. |
| 400 | InvalidParameterCombination | The end time must be later than the start time. | The end time must be greater than the start time. |
| 400 | InvalidQueryParameter | The specified query parameter is invalid. | The specified query parameter is not valid. |
| 400 | InvalidParameterDateOutOfRange | Query time range exceeds 30 days. | |
| 400 | InvalidParameterEndTime | The specified EndTime is invalid. | |
| 400 | InvalidParameterStartTime | The specified StartTime is invalid. | |
| 400 | InvalidParameterStartTimeExceedsCurrent | The StartTime exceeds the current time. Use GMT time format for queries. | |
| 400 | InvalidParameterStartTimeOutOfDate | The StartTime exceeds the limit of 90 days. | |
| 400 | InvalidTimeRangeException | The end time must be later than the start time. The time span cannot exceed 30 days. | The end time must be greater than the start time. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。