Network Stay organized with collections Save and categorize content based on your preferences.
- JSON representation
- Ftp
- Dns
- Question
- ResourceRecord
- Dhcp
- Option
- Http
- Tls
- Client
- Certificate
- Server
- Smtp
- ProxyInfo
A network event.
| JSON representation |
|---|
{"sentBytes":string,"receivedBytes":string,"totalBytes":string,"sentPackets":string,"receivedPackets":string,"sessionDuration":string,"sessionId":string,"parentSessionId":string,"applicationProtocolVersion":string,"communityId":string,"direction":enum ( |
| Fields | |
|---|---|
sentBytes |
The number of bytes sent. |
receivedBytes |
The number of bytes received. |
totalBytes |
The number of total bytes. |
sentPackets |
The number of packets sent. |
receivedPackets |
The number of packets received. |
sessionDuration |
The duration of the session as the number of seconds and nanoseconds. For seconds, network.session_duration.seconds, the type is a 64-bit integer. For nanoseconds, network.session_duration.nanos, the type is a 32-bit integer. A duration in seconds with up to nine fractional digits, ending with ' |
sessionId |
The ID of the network session. |
parentSessionId |
The ID of the parent network session. |
applicationProtocolVersion |
The version of the application protocol. e.g. "1.1, 2.0" |
communityId |
Community ID network flow value. |
direction |
The direction of network traffic. |
ipProtocol |
The IP protocol. |
ipv6 |
True if IPv6 is used. |
applicationProtocol |
The application protocol. |
ftp |
FTP info. |
email |
Email info for the sender/recipient. |
dns |
DNS info. |
dhcp |
DHCP info. |
http |
HTTP info. |
tls |
TLS info. |
smtp |
SMTP info. Store fields specific to SMTP not covered by Email. |
asn |
Autonomous system number. |
dnsDomain |
DNS domain name. |
carrierName |
Carrier identification. |
organizationName |
Organization name (e.g Google). |
ipSubnetRange |
Associated human-readable IP subnet range (e.g. 10.1.2.0/24). |
isProxy |
Whether the IP address is a known proxy. |
proxyInfo |
Proxy information. Only set if isProxy is true. |
connectionState |
The state of the network connection. |
Ftp
FTP info.
| JSON representation |
|---|
{"command":string} |
| Fields | |
|---|---|
command |
The FTP command. |
Email info.
| JSON representation |
|---|
{"from":string,"replyTo":string,"to":[string],"cc":[string],"bcc":[string],"mailId":string,"subject":[string],"bounceAddress":string} |
| Fields | |
|---|---|
from |
The 'from' address. |
replyTo |
The 'reply to' address. |
to[] |
A list of 'to' addresses. |
cc[] |
A list of 'cc' addresses. |
bcc[] |
A list of 'bcc' addresses. |
mailId |
The mail (or message) ID. |
subject[] |
The subject line(s) of the email. |
bounceAddress |
The envelope from address.https://en.wikipedia.org/wiki/Bounce_address |
Dns
DNS information.
| JSON representation |
|---|
{"id":integer,"response":boolean,"opcode":integer,"authoritative":boolean,"truncated":boolean,"recursionDesired":boolean,"recursionAvailable":boolean,"responseCode":integer,"questions":[{object ( |
| Fields | |
|---|---|
id |
DNS query id. |
response |
Set to true if the event is a DNS response. See QR field from RFC1035. |
opcode |
The DNS OpCode used to specify the type of DNS query (for example, QUERY, IQUERY, or STATUS). |
authoritative |
Other DNS header flags. See RFC1035, section 4.1.1. |
truncated |
Whether the DNS response was truncated. |
recursionDesired |
Whether a recursive DNS lookup is desired. |
recursionAvailable |
Whether a recursive DNS lookup is available. |
responseCode |
Response code. See RCODE from RFC1035. |
questions[] |
A list of domain protocol message questions. |
answers[] |
A list of answers to the domain name query. |
authority[] |
A list of domain name servers which verified the answers to the domain name queries. |
additional[] |
A list of additional domain name servers that can be used to verify the answer to the domain. |
Question
DNS Questions. See RFC1035, section 4.1.2.
| JSON representation |
|---|
{"name":string,"type":integer,"class":integer,"prevalence":{object ( |
| Fields | |
|---|---|
name |
The domain name. |
type |
The code specifying the type of the query. |
class |
The code specifying the class of the query. |
prevalence |
The prevalence of the domain within the customer's environment. |
ResourceRecord
DNS Resource Records. See RFC1035, section 4.1.3.
| JSON representation |
|---|
{"name":string,"type":integer,"class":integer,"ttl":integer,"data":string,"binaryData":string} |
| Fields | |
|---|---|
name |
The name of the owner of the resource record. |
type |
The code specifying the type of the resource record. |
class |
The code specifying the class of the resource record. |
ttl |
The time interval for which the resource record can be cached before the source of the information should again be queried. |
data |
The payload or response to the DNS question for all responses encoded in UTF-8 format |
binaryData |
The raw bytes of any non-UTF8 strings that might be included as part of a DNS response. A base64-encoded string. |
Dhcp
DHCP information.
| JSON representation |
|---|
{"opcode":enum ( |
| Fields | |
|---|---|
opcode |
The BOOTP op code. |
htype |
Hardware address type. |
hlen |
Hardware address length. |
hops |
Hardware ops. |
transactionId |
Transaction ID. |
seconds |
Seconds elapsed since client began address acquisition/renewal process. |
flags |
Flags. |
ciaddr |
Client IP address (ciaddr). |
yiaddr |
Your IP address (yiaddr). |
siaddr |
IP address of the next bootstrap server. |
giaddr |
Relay agent IP address (giaddr). |
chaddr |
Client hardware address (chaddr). |
sname |
Server name that the client wishes to boot from. |
file |
Boot image filename. |
options[] |
List of DHCP options. |
type |
DHCP message type. |
leaseTimeSeconds |
Lease time in seconds. See RFC2132, section 9.2. |
clientHostname |
Client hostname. See RFC2132, section 3.14. |
clientIdentifier |
Client identifier. See RFC2132, section 9.14. Note: Make sure to update the clientIdentifierString field as well if you update this field. A base64-encoded string. |
requestedAddress |
Requested IP address. See RFC2132, section 9.1. |
clientIdentifierString |
Client identifier as string. See RFC2132, section 9.14. This field holds the string value of the clientIdentifier. |
Option
DHCP options.
| JSON representation |
|---|
{"code":integer,"data":string} |
| Fields | |
|---|---|
code |
Code. See RFC1533. |
data |
Data. A base64-encoded string. |
Http
Specify the full URL of the HTTP request within "target". Also specify any uploaded or downloaded file information within "source" or "target".
| JSON representation |
|---|
{"method":string,"referralUrl":string,"userAgent":string,"responseCode":integer,"parsedUserAgent":{object ( |
| Fields | |
|---|---|
method |
The HTTP request method (e.g. "GET", "POST", "PATCH", "DELETE"). |
referralUrl |
The URL for the HTTP referer. |
userAgent |
The User-Agent request header which includes the application type, operating system, software vendor or software version of the requesting software user agent. |
responseCode |
The response status code, for example 200, 302, 404, or 500. |
parsedUserAgent |
The parsed userAgent string. |
Tls
Transport Layer Security (TLS) information.
| JSON representation |
|---|
{"client":{object ( |
| Fields | |
|---|---|
client |
Certificate information for the client certificate. |
server |
Certificate information for the server certificate. |
cipher |
Cipher used during the connection. |
curve |
Elliptical curve used for a given cipher. |
version |
TLS version. |
versionProtocol |
Protocol. |
established |
Indicates whether the TLS negotiation was successful. |
nextProtocol |
Protocol to be used for tunnel. |
resumed |
Indicates whether the TLS connection was resumed from a previous TLS negotiation. |
Client
Transport Layer Security (TLS) information associated with the client (for example, Certificate or JA3 hash).
| JSON representation |
|---|
{"certificate":{object ( |
| Fields | |
|---|---|
certificate |
Client certificate. |
ja3 |
JA3 hash from the TLS ClientHello, as a hex-encoded string. |
serverName |
Host name of the server, that the client is connecting to. |
supportedCiphers[] |
Ciphers supported by the client during client hello. |
Certificate
Certificate information
| JSON representation |
|---|
{"version":string,"serial":string,"subject":string,"issuer":string,"md5":string,"sha1":string,"sha256":string,"notBefore":string,"notAfter":string} |
| Fields | |
|---|---|
version |
Certificate version. |
serial |
Certificate serial number. |
subject |
Subject of the certificate. |
issuer |
Issuer of the certificate. |
md5 |
The MD5 hash of the certificate, as a hex-encoded string. |
sha1 |
The SHA1 hash of the certificate, as a hex-encoded string. |
sha256 |
The SHA256 hash of the certificate, as a hex-encoded string. |
notBefore |
Indicates when the certificate is first valid. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
notAfter |
Indicates when the certificate is no longer valid. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Server
Transport Layer Security (TLS) information associated with the server (for example, Certificate or JA3 hash).
| JSON representation |
|---|
{"certificate":{object ( |
| Fields | |
|---|---|
certificate |
Server certificate. |
ja3s |
JA3 hash from the TLS ServerHello, as a hex-encoded string. |
Smtp
SMTP info. See RFC 2821.
| JSON representation |
|---|
{"helo":string,"mailFrom":string,"rcptTo":[string],"serverResponse":[string],"messagePath":string,"isWebmail":boolean,"isTls":boolean} |
| Fields | |
|---|---|
helo |
The client's 'HELO'/'EHLO' string. |
mailFrom |
The client's 'MAIL FROM' string. |
rcptTo[] |
The client's 'RCPT TO' string(s). |
serverResponse[] |
The server's response(s) to the client. |
messagePath |
The message's path (extracted from the headers). |
isWebmail |
If the message was sent via a webmail client. |
isTls |
If the connection switched to TLS. |
ProxyInfo
Proxy information.
| JSON representation |
|---|
{"anonymous":boolean,"anonymousVpn":boolean,"publicProxy":boolean,"torExitNode":boolean,"smartDnsProxy":boolean,"hostingProvider":boolean,"vpnDatacenter":boolean,"residentialProxy":boolean,"vpnServiceName":string,"proxyOverVpn":boolean,"relayProxy":boolean} |
| Fields | |
|---|---|
anonymous |
Whether the IP address is anonymous. |
anonymousVpn |
Whether the IP address is an anonymous VPN. |
publicProxy |
Whether the IP address is a public proxy. |
torExitNode |
Whether the IP address is a tor exit node. |
smartDnsProxy |
Whether the IP address is a smart DNS proxy. |
hostingProvider |
Whether the IP address is a hosting provider. |
vpnDatacenter |
Whether the IP address is a VPN datacenter. |
residentialProxy |
Whether the IP address is a residential proxy. |
vpnServiceName |
The name of the VPN service. |
proxyOverVpn |
Whether the IP address is a proxy over VPN. |
relayProxy |
Whether the IP address is a relay proxy. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-13 UTC.