Insights olaylarını sorgular.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
Sonraki istekte yeni bir sonuç sayfası almak için kullanılan sayfalama belirteci.
|
VjE6dLbnNpVmbz06**** |
| MaxResults |
string |
No |
Döndürülecek maksimum giriş sayısı.
|
20 |
| StartTime |
string |
No |
Sorgulanacak zaman aralığının başlangıcı. Varsayılan değer, geçerli zamandan yedi gün öncesidir. Zamanı ISO 8601 standardında yyyy-MM-ddTHH:mm:ssZ biçiminde belirtin. Zaman UTC olmalıdır. Not
|
2026-01-07T04:10:00Z |
| EndTime |
string |
No |
Sorgulanacak zaman aralığının sonu. Varsayılan değer geçerli zamandır. Zamanı ISO 8601 standardında yyyy-MM-ddTHH:mm:ssZ biçiminde belirtin. Zaman UTC olmalıdır. |
2026-01-07T07:10:00Z |
| LookupAttribute |
array<object> |
No |
Filtre koşullarından oluşan bir dizi. Not
|
|
|
object |
No |
Bir filtre koşulu. |
||
| Key |
string |
No |
Öznitelik anahtarı. Geçerli değerler hakkında daha fazla bilgi için LookupInsightEvents çağrılırken LookupAttribute parametresi nasıl yapılandırılır? bölümüne bakın. |
InsightType |
| Value |
string |
No |
Öznitelik değeri. Geçerli değerler hakkında daha fazla bilgi için LookupInsightEvents çağrılırken LookupAttribute parametresi nasıl yapılandırılır? bölümüne bakın. |
IpInsight |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Events |
array<object> |
Insights olayları. |
|
|
object |
Insights olayı. |
{ "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 |
Sonraki istekte yeni bir sonuç sayfası almak için kullanılan sayfalama belirteci. İlk istek için bu parametreyi belirtmenize gerek yoktur. NextToken değeri olarak önceki sorgudan elde edilen belirteci belirtmeniz gerekir. |
VjE6bHJlTGoxdm1M**** |
| RequestId |
string |
İstek kimliği. |
851038F3-33AB-4C49-97D7-6AB37D35**** |
Examples
Success response
JSON format
{
"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****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.