Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Cloudflare Docs
Log in

Gateway analytics include three separate dashboards:

  • HTTP request analytics.
  • DNS query analytics.
  • Network session analytics.

To review Gateway analytics:

  1. InCloudflare One, go toInsights.
  2. Go toDashboards.
  3. Select your desired dashboard.

HTTP request analytics

The HTTP request analytics dashboard is powered by yourGateway HTTP policies. If you are not using Gateway HTTP policies, the dashboard will appear empty.

The HTTP request analytics dashboard helps you identify trends in how your HTTP policies are applied over time. By visualizing allowed, isolated, and do not inspect requests, the dashboard provides insights into traffic behavior and policy trends, making it easier to spot anomalies or shifts in usage patterns.

To review a detailed description of an HTTP request and its associated policy:

  1. InCloudflare One, go toInsights.
  2. SelectLogs.
  3. SelectHTTP request logs.
  4. Use thePolicy filter to view HTTP requests that triggered a policy or other filters to narrow down your results.

Provided analytics

  • HTTP Requests over time
    • Time series view of HTTP requests
  • Top Actions
  • Top Countries
  • Top Blocked Users
  • Top Bandwidth Consumers
  • Top Devices
  • Top Source IPs

DNS query analytics

The DNS query analytics dashboard is powered by yourGateway DNS policies. If you are not using Gateway DNS policies, the dashboard will appear empty.

The DNS query analytics dashboard helps you identify trends in how your DNS policies are applied over time. By visualizing allowed, blocked, and overridden queries, the dashboard provides insights into traffic behavior and policy trends, making it easier to spot anomalies or shifts in usage patterns.

To review a detailed description of a DNS query and its associated policy:

  1. InCloudflare One, go toInsights.
  2. SelectLogs.
  3. SelectDNS query logs.
  4. Use thePolicy filter to view DNS queries that triggered a policy or other filters to narrow down your results.

Provided analytics

  • DNS Queries over time
    • Time series view of DNS queries
  • Top Actions
  • Top Countries
  • Top Blocked Users
  • Top Allowed Users
  • Top Blocked Devices

Network session analytics

The Network session analytics dashboard is powered by yourGateway network policies. If you are not using Gateway network policies, the dashboard will appear empty.

The Network session analytics dashboard helps you identify trends in how your network policies are applied over time. By visualizing allowed, blocked, and overridden sessions, the dashboard provides insights into traffic behavior and policy trends, making it easier to spot anomalies or shifts in usage patterns.

To review a detailed description of a network session and its associated policy:

  1. InCloudflare One, go toInsights.
  2. SelectLogs.
  3. SelectNetwork logs.
  4. Use thePolicy filter to view network sessions that triggered a policy or other filters to narrow down your results.

Provided analytics

  • Network Sessions over time
    • Time series view of network sessions
  • Top Actions
  • Top Countries
  • Top Blocked Users
  • Top Bandwidth Consumers
  • Top Devices
  • Top Source IPs

GraphQL queries

You can use theGraphQL Analytics API to query your Gateway Analytics data. Availabledatasets for Gateway include:

DatasetDescription
gatewayL4DownstreamSessionsAdaptiveGroupsMetrics for Gateway network sessions from user devices to the Cloudflare global network.
gatewayL4UpstreamSessionsAdaptiveGroupsMetrics for Gateway network sessions from the Cloudflare global network to user devices.
gatewayL4SessionsAdaptiveGroupsMetrics for Gateway network sessions with adaptive sampling.
gatewayL7RequestsAdaptiveGroupsMetrics for Gateway HTTP requests with adaptive sampling.
gatewayResolverQueriesAdaptiveGroupsMetrics for Gateway DNS queries with adaptive sampling.
gatewayResolverByRuleExecutionPerformanceAdaptiveGroupsTime to execute Gateway DNS policies on the Cloudflare global network.
gatewayResolverByCustomResolverGroupsMetrics for Gateway DNS queries resolved using custom resolvers.
gatewayResolverByCategoryAdaptiveGroupsMetrics for Gateway DNS queries sorted bydomain category with adaptive sampling.

To explore the schema, you can use a GraphQL client such asGraphiQL orAltair.

  1. Create an API token with the following permissions:

    TypeItemPermission
    AccountAccount AnalyticsRead
  2. In your GraphQL client,add your API token as an Authorization header.

  3. Compose a query to access your Gateway Analytics datasets. For example, you can query thegatewayResolverQueriesAdaptiveGroups dataset to return the adaptive groups of DNS queries resolved by Gateway:

    queryGatewaySampleQuery($accountTag:string!,$start:Time){
    viewer{
    accounts(filter: {accountTag: $accountTag }){
    gatewayResolverQueriesAdaptiveGroups(
    filter: {datetime_gt: $start }
    limit:10
    ){
    count
    dimensions{
    queryNameReversed
    resolverDecision
    }
    }
    }
    }
    }

For more information, refer toCompose a query in GraphiQL.


[8]ページ先頭

©2009-2025 Movatter.jp