Magic BGP Logs

Last updated Sep 14, 2026 The descriptions below detail the fields available for magic_bgp_logs.

Direction

Type: string

Direction of the event relative to Cloudflare. Possible values are to_cloudflare | from_cloudflare, or empty for non-message events.

EventData

Type: object

Payload describing the event. Schema depends on EventKind.
open_message carries peer_asn, cloudflare_asn, bgp_id, hold_time, and capabilities.
update_message carries announced, as_path, and origin.
notification_message carries code, subcode, and reason.
route_refresh_message carries afi and safi.
bgp_state_transition carries from_state, to_state, and event.
tcp_handshake_failed carries reason, message, src, and dst.
stale_path_timer_expired carries purged_route_count.
session_config_changed carries disabled and the changed fields.
filter_config_changed carries import and export filter change flags.
redistribute_config_changed carries a single boolean.

EventKind

Type: string

BGP event type. Possible values are open_message | update_message | notification_message | route_refresh_message | bgp_state_transition | tcp_handshake_failed | stale_path_timer_expired | session_config_changed | filter_config_changed | redistribute_config_changed.

EventTimestamp

Type: int or string

Timestamp of when the event occurred.

TunnelID

Type: string

UUID (hex, no hyphens) of the IPsec / GRE tunnel the event belongs to.

TunnelName

Type: string

Name of the IPsec / GRE tunnel the event belongs to.

Was this helpful?

YesNo

On this page

Magic BGP Logs - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/account/magic_bgp_logs/#page","headline":"Magic BGP Logs","description":"The descriptions below detail the fields available for magic_bgp_logs.","url":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/account/magic_bgp_logs/","inLanguage":"en","image":"https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/account/magic_bgp_logs/og.png?v=a6e2ee5b4d3333fa","dateModified":"2026-09-14","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: The descriptions below detail the fields available for magic_ids_detections. title: Magic IDS Detections image: https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/account/magic_ids_detections/og.png?v=c4ab8a08ceef2e37


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/logs/llms.txt
Use this file to discover all available pages before exploring further.