---
title: Network Analytics Logs
description: The descriptions below detail the fields available for network_analytics_logs.
image: https://developers.cloudflare.com/core-services-preview.png
---

> 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.

[Skip to content](#%5Ftop) 

# Network Analytics Logs

The descriptions below detail the fields available for `network_analytics_logs`.

## AttackCampaignID

Type: `string`

Unique identifier of the attack campaign that this packet was a part of, if any.

## AttackID

Type: `string`

Unique identifier of the mitigation that matched the packet, if any.

## AttackVector

Type: `string`

Descriptive name of the type of attack that this packet was a part of, if any. Only for packets matching rules contained within the Cloudflare L3/4 managed ruleset.

## ColoCity

Type: `string`

The city where the Cloudflare data center that received the packet is located.

## ColoCode

Type: `string`

The Cloudflare data center that received the packet (nearest IATA airport code).

## ColoCountry

Type: `string`

The country where the Cloudflare data center that received the packet is located (ISO 3166-1 alpha-2).

## ColoGeoHash

Type: `string`

The latitude and longitude where the Cloudflare data center that received the packet is located (Geohash encoding).

## ColoName

Type: `string`

The unique site identifier of the Cloudflare data center that received the packet (for example, 'ams01', 'sjc01', 'lhr01').

## DNSQueryName

Type: `string`

The DNS query name (domain) that was queried, if the packet is a DNS query.

## DNSQueryType

Type: `string`

The DNS query type (for example, A, AAAA, MX, TXT), if the packet is a DNS query.

## Datetime

Type: `int or string`

The date and time the event occurred at the edge.

## DestinationASN

Type: `int`

The ASN associated with the destination IP of the packet.

## DestinationASNName

Type: `string`

The name of the ASN associated with the destination IP of the packet.

## DestinationCountry

Type: `string`

The country where the destination IP of the packet is located (ISO 3166-1 alpha-2).

## DestinationGeoHash

Type: `string`

The latitude and longitude where the destination IP of the packet is located (Geohash encoding).

## DestinationPort

Type: `int`

Value of the Destination Port header field in the TCP or UDP packet.

## Direction

Type: `string`

The direction in relation to customer network.   
Possible values are _ingress_ | _egress_.

## GREChecksum

Type: `int`

Value of the Checksum header field in the GRE packet.

## GREEtherType

Type: `int`

Value of the EtherType header field in the GRE packet.

## GREHeaderLength

Type: `int`

Length of the GRE packet header, in bytes.

## GREKey

Type: `int`

Value of the Key header field in the GRE packet.

## GRESequenceNumber

Type: `int`

Value of the Sequence Number header field in the GRE packet.

## GREVersion

Type: `int`

Value of the Version header field in the GRE packet.

## ICMPChecksum

Type: `int`

Value of the Checksum header field in the ICMP packet.

## ICMPCode

Type: `int`

Value of the Code header field in the ICMP packet.

## ICMPType

Type: `int`

Value of the Type header field in the ICMP packet.

## IPDestinationAddress

Type: `string`

Value of the Destination Address header field in the IPv4 or IPv6 packet.

## IPDestinationSubnet

Type: `string`

Computed subnet of the Destination Address header field in the IPv4 or IPv6 packet (/24 for IPv4; /64 for IPv6).

## IPFragmentOffset

Type: `int`

Value of the Fragment Offset header field in the IPv4 or IPv6 packet.

## IPHeaderLength

Type: `int`

Length of the IPv4 or IPv6 packet header, in bytes.

## IPMoreFragments

Type: `int`

Value of the More Fragments header field in the IPv4 or IPv6 packet.

## IPProtocol

Type: `int`

Value of the Protocol header field in the IPv4 or IPv6 packet.

## IPProtocolName

Type: `string`

Name of the protocol specified by the Protocol header field in the IPv4 or IPv6 packet.

## IPSourceAddress

Type: `string`

Value of the Source Address header field in the IPv4 or IPv6 packet.

## IPSourceSubnet

Type: `string`

Computed subnet of the Source Address header field in the IPv4 or IPv6 packet (/24 for IPv4; /64 for IPv6).

## IPTTL

Type: `int`

Value of the TTL header field in the IPv4 packet or the Hop Limit header field in the IPv6 packet.

## IPTTLBuckets

Type: `int`

Value of the TTL header field in the IPv4 packet or the Hop Limit header field in the IPv6 packet, with the last digit truncated.

## IPTotalLength

Type: `int`

Total length of the IPv4 or IPv6 packet, in bytes.

## IPTotalLengthBuckets

Type: `int`

Total length of the IPv4 or IPv6 packet, in bytes, with the last two digits truncated.

## IPv4Checksum

Type: `int`

Value of the Checksum header field in the IPv4 packet.

## IPv4DSCP

Type: `int`

Value of the Differentiated Services Code Point header field in the IPv4 packet.

## IPv4DontFragment

Type: `int`

Value of the Don't Fragment header field in the IPv4 packet.

## IPv4ECN

Type: `int`

Value of the Explicit Congestion Notification header field in the IPv4 packet.

## IPv4Identification

Type: `int`

Value of the Identification header field in the IPv4 packet.

## IPv4Options

Type: `string`

List of Options numbers included in the IPv4 packet header.

## IPv6DSCP

Type: `int`

Value of the Differentiated Services Code Point header field in the IPv6 packet.

## IPv6ECN

Type: `int`

Value of the Explicit Congestion Notification header field in the IPv6 packet.

## IPv6ExtensionHeaders

Type: `string`

List of Extension Header numbers included in the IPv6 packet header.

## IPv6FlowLabel

Type: `int`

Value of the Flow Label header field in the IPv6 packet.

## IPv6Identification

Type: `int`

Value of the Identification extension header field in the IPv6 packet.

## MitigationReason

Type: `string`

Reason for applying a mitigation to the packet, if any.   
Possible values are _BLOCKED_ | _RATE\_LIMITED_ |_UNEXPECTED_ | _CHALLENGE\_NEEDED_ | _CHALLENGE\_PASSED_ | _NOT\_FOUND_ | _OUT\_OF\_SEQUENCE_ | _ALREADY\_CLOSED_.

## MitigationScope

Type: `string`

Whether the packet matched a local or global mitigation, if any.   
Possible values are _local_ | _global_.

## MitigationSystem

Type: `string`

Which Cloudflare system sampled the packet.   
Possible values are _dosd_ | _flowtrackd_ | _magic-firewall_.

## Outcome

Type: `string`

The action that Cloudflare systems took on the packet.   
Possible values are _pass_ | _drop_.

## PFPCustomTag

Type: `int`

The custom network analytics tag set by Programmable Flow Protection program, if any.

## ProtocolState

Type: `string`

State of the packet in the context of the protocol, if any.   
Possible values are _OPEN_ | _NEW_ | _CLOSING_ | _CLOSED_.

## RuleID

Type: `string`

Unique identifier of the rule contained within the Cloudflare L3/4 managed ruleset that this packet matched, if any.

## RuleName

Type: `string`

Human-readable name of the rule contained within the Cloudflare L3/4 managed ruleset that this packet matched, if any.

## RulesetID

Type: `string`

Unique identifier of the Cloudflare L3/4 managed ruleset containing the rule that this packet matched, if any.   
Possible values are _3b64149bfa6e4220bbbc2bd6db589552_.

## RulesetOverrideID

Type: `string`

Unique identifier of the rule within the accounts root ddos\_l4 phase ruleset which resulted in an override of the default sensitivity or action being applied/evaluated, if any.

## SampleInterval

Type: `int`

The sample interval is the inverse of the sample rate. For example, a sample interval of 1000 means that this packet was randomly sampled from 1 in 1000 packets. Sample rates are dynamic and based on the volume of traffic.

## SourceASN

Type: `int`

The ASN associated with the source IP of the packet.

## SourceASNName

Type: `string`

The name of the ASN associated with the source IP of the packet.

## SourceCountry

Type: `string`

The country where the source IP of the packet is located (ISO 3166-1 alpha-2).

## SourceGeoHash

Type: `string`

The latitude and longitude where the source IP of the packet is located (Geohash encoding).

## SourcePort

Type: `int`

Value of the Source Port header field in the TCP or UDP packet.

## TCPAcknowledgementNumber

Type: `int`

Value of the Acknowledgement Number header field in the TCP packet.

## TCPChecksum

Type: `int`

Value of the Checksum header field in the TCP packet.

## TCPDataOffset

Type: `int`

Value of the Data Offset header field in the TCP packet.

## TCPFlags

Type: `int`

Value of the Flags header field in the TCP packet.

## TCPFlagsString

Type: `string`

Human-readable string representation of the Flags header field in the TCP packet.

## TCPMSS

Type: `int`

Value of the MSS option header field in the TCP packet.

## TCPOptions

Type: `string`

List of Options numbers included in the TCP packet header.

## TCPSACKBlocks

Type: `string`

List of the SACK Blocks option header in the TCP packet.

## TCPSACKPermitted

Type: `int`

Value of the SACK Permitted option header in the TCP packet.

## TCPSequenceNumber

Type: `int`

Value of the Sequence Number header field in the TCP packet.

## TCPTimestampECR

Type: `int`

Value of the Timestamp Echo Reply option header in the TCP packet.

## TCPTimestampValue

Type: `int`

Value of the Timestamp option header in the TCP packet.

## TCPUrgentPointer

Type: `int`

Value of the Urgent Pointer header field in the TCP packet.

## TCPWindowScale

Type: `int`

Value of the Window Scale option header in the TCP packet.

## TCPWindowSize

Type: `int`

Value of the Window Size header field in the TCP packet.

## UDPChecksum

Type: `int`

Value of the Checksum header field in the UDP packet.

## UDPPayloadLength

Type: `int`

Value of the Payload Length header field in the UDP packet.

## Verdict

Type: `string`

The action that Cloudflare systems think should be taken on the packet.   
Possible values are _pass_ | _drop_.

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"/directory/","name":"Directory"}},{"@type":"ListItem","position":2,"item":{"@id":"/logs/","name":"Logs"}},{"@type":"ListItem","position":3,"item":{"@id":"/logs/logpush/","name":"Logpush"}},{"@type":"ListItem","position":4,"item":{"@id":"/logs/logpush/logpush-job/","name":"Logpush job setup"}},{"@type":"ListItem","position":5,"item":{"@id":"/logs/logpush/logpush-job/datasets/","name":"Datasets"}},{"@type":"ListItem","position":6,"item":{"@id":"/logs/logpush/logpush-job/datasets/account/","name":"Account-scoped datasets"}},{"@type":"ListItem","position":7,"item":{"@id":"/logs/logpush/logpush-job/datasets/account/network_analytics_logs/","name":"Network Analytics Logs"}}]}
```
