Log Analytics - Get Waf Log Analytics Rankings
AFD 프로필에 대한 WAF 로그 분석 차트 가져오기
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings?api-version=2025-04-15&metrics=clientRequestCount&dateTimeBegin={dateTimeBegin}&dateTimeEnd={dateTimeEnd}&maxRanking={maxRanking}&rankings={rankings}
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings?api-version=2025-04-15&metrics=clientRequestCount&dateTimeBegin={dateTimeBegin}&dateTimeEnd={dateTimeEnd}&maxRanking={maxRanking}&rankings={rankings}&actions={actions}&ruleTypes={ruleTypes}
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
profile
|
path | True |
string |
리소스 그룹 내에서 고유한 Azure Front Door 표준 또는 Azure Front Door Premium 프로필의 이름입니다. 리소스 그룹 내에서 고유합니다. |
resource
|
path | True |
string minLength: 1maxLength: 90 |
리소스 그룹의 이름입니다. 이름은 대소문자를 구분하지 않습니다. |
subscription
|
path | True |
string (uuid) |
대상 구독의 ID입니다. 값은 UUID여야 합니다. |
api-version
|
query | True |
string minLength: 1 |
이 작업에 사용할 API 버전입니다. |
date
|
query | True |
string (date-time) |
|
date
|
query | True |
string (date-time) |
|
max
|
query | True |
integer (int32) |
|
metrics
|
query | True | ||
rankings
|
query | True | ||
actions
|
query | |||
rule
|
query |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
성공적인 작업의 결과를 설명합니다. |
|
Other Status Codes |
작업이 실패한 이유를 설명하는 Azure Front Door 오류 응답입니다. |
보안
azure_auth
Azure Active Directory OAuth2 흐름.
형식:
oauth2
Flow:
implicit
권한 부여 URL:
https://login.microsoftonline.com/common/oauth2/authorize
범위
Name | Description |
---|---|
user_impersonation | 사용자 계정 가장 |
예제
LogAnalytics_GetWafLogAnalyticsRankings
샘플 요청
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/RG/providers/Microsoft.Cdn/profiles/profile1/getWafLogAnalyticsRankings?api-version=2025-04-15&metrics=clientRequestCount&dateTimeBegin=2020-11-04T06:49:27.554Z&dateTimeEnd=2020-11-04T09:49:27.554Z&maxRanking=5&rankings=ruleId
샘플 응답
{
"dateTimeBegin": "2020-11-04T14:49:27.554+08:00",
"dateTimeEnd": "2020-11-04T17:49:27.554+08:00",
"groups": [
"ruleId"
],
"data": [
{
"groupValues": [
"BlockRateLimit"
],
"metrics": [
{
"metric": "clientRequestCount",
"value": 1268,
"percentage": 0
}
]
}
]
}
정의
Name | Description |
---|---|
Data | |
Error |
리소스 관리 오류 추가 정보입니다. |
Error |
오류 세부 정보입니다. |
Error |
오류 응답 |
Waf |
|
Waf |
|
Waf |
Waf 순위 응답 |
Waf |
|
Waf |
Data
Name | 형식 | Description |
---|---|---|
dateTime |
string (date-time) |
|
value |
number |
ErrorAdditionalInfo
리소스 관리 오류 추가 정보입니다.
Name | 형식 | Description |
---|---|---|
info |
object |
추가 정보입니다. |
type |
string |
추가 정보 유형입니다. |
ErrorDetail
오류 세부 정보입니다.
Name | 형식 | Description |
---|---|---|
additionalInfo |
오류 추가 정보입니다. |
|
code |
string |
오류 코드입니다. |
details |
오류 세부 정보입니다. |
|
message |
string |
오류 메시지입니다. |
target |
string |
오류 대상입니다. |
ErrorResponse
오류 응답
Name | 형식 | Description |
---|---|---|
error |
오류 개체입니다. |
WafAction
값 | Description |
---|---|
allow | |
block | |
log | |
redirect |
WafMetric
값 | Description |
---|---|
clientRequestCount |
WafRankingsResponse
Waf 순위 응답
Name | 형식 | Description |
---|---|---|
data |
Data[] |
|
dateTimeBegin |
string (date-time) |
|
dateTimeEnd |
string (date-time) |
|
groups |
string[] |
WafRankingType
값 | Description |
---|---|
action | |
clientIp | |
countryOrRegion | |
ruleGroup | |
ruleId | |
ruleType | |
url | |
userAgent |
WafRuleType
값 | Description |
---|---|
bot | |
custom | |
managed |