Docs

Type at least 2 letters.

    Gateway

    What the Cloudflare One Gateway blocked and allowed in DNS, HTTP and network traffic, with totals per decision and rankings for each traffic type.

    Updated View as Markdown

    The Gateway screen shows what the Cloudflare One Gateway blocked and allowed in DNS, HTTP and network traffic. The numbers come from the tenant's Cloudflare One connection and are collected once a day.

    Before you start

    • Have a Cloudflare One connection with the Conectada (Connected) status in the tenant. It is a connection of its own, separate from the Cloudflare Edge connection, even for the same account. Refer to Connect Cloudflare One.
    • Confirm that the Cloudflare account uses the Cloudflare One Gateway.
    • Confirm that the connection has the Cloudflare One read permissions. Refer to Required permissions.
    • Have the connections.read permission, included in the Tenant Admin and Tenant User roles.

    Where to find it

    In the side menu, go to Cloudflare One > Gateway. The Cloudflare One section is its own section, separate from the Cloudflare section, and appears when the tenant has a Conectada Cloudflare One connection.

    Without that connection, the screen shows Conecte a Cloudflare One (Connect Cloudflare One). A Cloudflare Edge connection does not unlock the Gateway.

    Period

    Select 1 dia (1 day), 7 dias (7 days, default) or 30 dias (30 days). The period ends on the last complete day, yesterday, in Brasília time. Today enters tomorrow's collection.

    Below the header, the screen shows the period dates and how many of its days were collected, for example 7 de 7 dias coletados (7 of 7 days collected). A lower number means days without collection, such as days before the connection existed.

    The selected period and tab are kept in the page address. Share the address to open the screen in the same view.

    Tabs

    Tab What it counts
    DNS DNS queries resolved by the Gateway.
    HTTP HTTP requests filtered by the Gateway.
    Rede (Network) Network sessions filtered by the Gateway.

    Totals

    Each tab starts with the totals per decision. Below each total, the screen shows its share of the sum of the tab's totals.

    Tab Indicators
    DNS Consultas bloqueadas (Blocked queries), Consultas permitidas (Allowed queries), Consultas substituídas (Overridden queries), Outras decisões (Other decisions)
    HTTP Requisições bloqueadas (Blocked requests), Requisições permitidas (Allowed requests), Outras decisões
    Rede Sessões bloqueadas (Blocked sessions), Sessões permitidas (Allowed sessions), Outras decisões

    Consultas substituídas are DNS queries answered by a Gateway override rule. Outras decisões groups the decisions that are not block, allow or override.

    Rankings

    Below the totals there are two blocks: Top bloqueados (Top blocked) and Mais acessados (Most accessed). Each card shows the 10 items with the most occurrences in the period, such as Top 10 por consultas bloqueadas (Top 10 by blocked queries). Each item's bar shows its share of the decision total.

    Tab Cards
    DNS Domínios (Domains), Categorias (Categories), Usuários (Users), Dispositivos (Devices), IPs de origem (Source IPs), Políticas (Policies, only in Top bloqueados)
    HTTP Usuários, Hosts, Categorias, Políticas, Países de destino (Destination countries)
    Rede Usuários, IPs de destino (Destination IPs), IPs de origem, Políticas, Países de destino, Portas de destino (Destination ports)

    Políticas shows the Gateway policies that triggered the decision the most. Países de destino and Portas de destino show where the traffic went. In DNS, Políticas exists only for blocks and appears in Top bloqueados.

    Categorias groups items by the main category: subcategories add up to the parent category. A request can have more than one category, and the card warns: Uma requisição pode ter mais de uma categoria: os percentuais não somam 100%. (A request can have more than one category: the percentages do not add up to 100%.)

    For a summary of these dimensions adding up the three traffic types, refer to Overview.

    A card with no records in the period does not appear. When no card has records, the block shows Nenhum registro de DNS neste período. (No DNS records in this period.), or HTTP, or network. When Cloudflare does not deliver a piece of data, the card shows the reason instead of the ranking. Refer to Troubleshooting.

    Coletando histórico

    The Categorias, Políticas, Países de destino and Portas de destino dimensions are collected from the moment these metrics entered Advisor. While the 30-day history is being filled in, the card shows Coletando histórico (Collecting history) instead of the ranking. This is not an error: the message goes away when the collection finishes, with no action from you. The collection runs in stages and resumes on its own. Refer to Sync.

    Sync

    The Gateway is part of the Cloudflare One connection's scheduled collection, which runs once a day at 02:00 (Brasília time). On the first collection, Advisor fetches up to 30 days back, within the history that Cloudflare offers. The history collection runs in stages: each run covers up to 10 days and resumes automatically every few minutes, until the period is complete. A Cloudflare query limit does not interrupt the fill: the collection continues in the next stage, and the cards show Coletando histórico (Collecting history) until it finishes. Refer to Connections and sync.

    To collect before the scheduled time, select Sincronizar Cloudflare One (Sync Cloudflare One). While the sync is queued, the button shows Sincronizando Cloudflare One (Syncing Cloudflare One). This sync brings only Gateway and WARP data. It is also in the Sincronizar (Sync) menu of the Cloudflare One card, in Integrações (Integrations). Each sync is recorded in the audit trail as Sync da Cloudflare One forçado (Cloudflare One sync forced).

    The button requires the connections.scan permission, which is not part of the default tenant roles. To enable it, contact Guardnet. Refer to Roles and permissions.

    Personal data

    The Usuários, Dispositivos and IP rankings identify people. Advisor keeps these rankings for 90 days and deletes older days on every collection.

    Required permissions

    The Cloudflare One connection asks for these read permissions. The Cloudflare Edge connection does not ask for them and does not give access to the Gateway.

    OAuth scope API token permission (Account group, Read access) Used for
    account-analytics.read Account Analytics Gateway totals and rankings.
    teams.read Zero Trust Cloudflare One data, such as WARP devices and registrations.
    teams-dex.read Cloudflare DEX Live state and history of the WARP client.
    access-users.read Access: Users Organization users, the basis of WARP adoption.
    teams-pii.read Zero Trust: PII User emails and IPs. Without it, this data may come hidden or unavailable.

    The connection also uses Account Settings (account-settings.read) and, with OAuth, offline_access. The names are the same as in the Permissões necessárias (Required permissions) box, in Adicionar conexão (Add connection) on the Cloudflare One card. The full list is in Connect Cloudflare One.

    Troubleshooting

    "A Cloudflare recusou a leitura de parte dos dados do Gateway."

    (Cloudflare refused to read part of the Gateway data.) The affected cards show Sem permissão para ler este dado. Reconecte a Cloudflare One em Integrações para conceder os escopos Zero Trust. (No permission to read this data. Reconnect Cloudflare One in Integrations to grant the Zero Trust scopes.)

    Cause: the Cloudflare One connection does not have the Zero Trust read permissions. The notice completes the sentence according to the connection method:

    • OAuth: A autorização desta conexão não inclui os escopos Zero Trust. Reconecte a Cloudflare One em Integrações e aceite as permissões pedidas. (This connection's authorization does not include the Zero Trust scopes. Reconnect Cloudflare One in Integrations and accept the requested permissions.)
    • API token: O API token desta conexão não tem permissão de leitura de Zero Trust. Crie um token com as permissões da Cloudflare One, troque-o em Integrações (Editar token) e sincronize de novo. (This connection's API token does not have Zero Trust read permission. Create a token with the Cloudflare One permissions, swap it in Integrations (Edit token) and sync again.)

    How to fix:

    • OAuth: select Ir para Integrações (Go to Integrations) and, on the Cloudflare One card, select Reconectar (Reconnect). Accept the requested permissions on the Cloudflare screen.
    • API token: create a token with the permissions from the Required permissions table in the Cloudflare dashboard. On the Cloudflare One card, in Integrações, select Editar token (Edit token) and paste the new token.

    The data appears on the next collection or after Sincronizar Cloudflare One.

    "As métricas do Gateway ainda não foram coletadas"

    (Gateway metrics have not been collected yet.) The message continues with Elas entram na próxima coleta agendada. Para ver agora, sincronize a Cloudflare One. (They come in the next scheduled collection. To see them now, sync Cloudflare One.)

    Cause: the Cloudflare One connection has not gone through a collection yet.

    How to fix: wait for the scheduled collection at 02:00 (Brasília time). With the connections.scan permission, select Sincronizar Cloudflare One.

    "Não disponível no plano desta conta."

    (Not available on this account's plan.)

    Cause: the Cloudflare account plan does not offer this traffic type or this data. When a whole tab is unavailable, the screen shows DNS indisponível (DNS unavailable), or HTTP, or network. On the DNS tab, the Usuários, Dispositivos and IPs de origem cards show this message on every plan, because Cloudflare does not deliver this data in its DNS analytics.

    How to fix: there is nothing to fix in Advisor. The data appears once the account plan offers it.

    "Não foi possível coletar este dado. Sincronize de novo para tentar outra vez."

    (This data could not be collected. Sync again to retry.)

    Cause: Cloudflare failed to deliver the data during collection.

    How to fix: wait for the next scheduled collection or select Sincronizar Cloudflare One.

    "Sem dados de DNS no período"

    (No DNS data in the period.) The title changes with the tab: DNS, HTTP or network.

    Cause: the Gateway recorded no traffic of this type on the collected days.

    How to fix: choose a longer period. In the Cloudflare dashboard, confirm that there are Gateway policies for this traffic type.

    "Erro ao carregar as métricas do Gateway"

    (Error loading the Gateway metrics.)

    Cause: Advisor could not load the data, for example because the connection no longer exists in this tenant. The message below the title shows the reason.

    How to fix: select Tentar novamente (Try again). If the error continues, check the connection in Administração > Integrações.

    "Conecte a Cloudflare One"

    (Connect Cloudflare One.)

    Cause: the tenant does not have a Conectada Cloudflare One connection. A Cloudflare Edge connection is not enough: Cloudflare One is a connector of its own.

    How to fix: with the connections.write permission, select Conectar provedor (Connect provider) and add the connection on the Cloudflare One card. Refer to Connect Cloudflare One. Without that permission, ask a tenant administrator to connect it in Integrações.

    If the connection exists but is in Erro (Error), fix access on the Cloudflare One card. Refer to Integrations.

    "Nenhuma conexão ativa"

    (No active connection.) The message continues with Nenhuma conexão da Cloudflare One está conectada neste momento. Verifique a situação da integração em Integrações. (No Cloudflare One connection is connected right now. Check the integration status in Integrations.)

    Cause: the Cloudflare One connection is no longer connected, for example because of a credential error.

    How to fix: fix the connection on the Cloudflare One card, in Administração > Integrações. Refer to Cloudflare connection problems.

    Next steps