All Products
Search
Document Center

Application Real-Time Monitoring Service:Fields written to Simple Log Service

Last Updated:Jun 21, 2024

The Synthetic Monitoring sub-service of Application Real-Time Monitoring Service (ARMS) stores scheduled synthetic test data in Simple Log Service. This topic describes the fields that are used to write synthetic test data to Simple Log Service.

Synthetic test data is stored in the project proj-xtrace-{encoded value}-cn-hangzhou, and the Logstore name is logstore-cat-v2.

Common fields

Field

Description

Example

dataId

The unique ID of data.

None

dataType

The data type. Valid values:

  • ICMP

  • TCP

  • DNS

  • HTTP

  • WEBSITE

  • WEBSITE_RESOURCE

  • FILE_DOWNLOAD

ICMP

taskId

The unique ID of the task.

None

taskName

The name of the task.

Alibaba Cloud official website synthetic test

taskType

The type of the task. Valid values:

  • 1: Ping

  • 2: TCP

  • 3: DNS

  • 4: HTTP

  • 5: Website speed measurement

  • 6: File download

1

monitorCategory

Specifies whether a PC or a mobile device is detected. Valid values:

  • 1: PC

  • 2: mobile device

1

clientType

The detection point type. Valid values:

  • 1: data center detection point

  • 2: Lastmile detection point

  • 3: mobile device detection point

  • 4: cloud host detection point

1

ipCountry

The country.

China

ipCountryId

The ID of the country.

1100000

ipRegion

The province.

Zhejiang

ipRegionId

The ID of the province.

1101600

ipCity

The city.

Hangzhou

ipCityId

The ID of the city.

1101601

ipIsp

The carrier.

China Mobile

ipIspId

The ID of the carrier.

18

dnsServerIp

The IP address of the DNS server.

8.8.XX.XX

clientBandwidth

The bandwidth of the client.

20M

clientLastIp

The IP address of the client.

36.137.XX.XX

clientOSVersion

The client OS.

server2012

timestamp

The time when the synthetic test is started. Format: timestamp. Unit: milliseconds.

1684722763136

resultCode

The response code. Valid values:

  • 2400: Successful.

  • Others: For information about other response codes, see Error codes.

2400

errName

The error.

None

errMsg

The error message.

None

tags

The tags attached to the task.

key1=value1;key2=value2;

Ping

Field

Description

url

The URL of the task. Example: www.aliyun.com.

targetIp

The destination IP address. Example: 25.12.XX.XX.

icmpTime

The average ping. Unit: milliseconds.

icmpBagCount

The number of data packets. Example: 4.

icmpBagLossCount

The number of lost packets. Example: 4.

icmpLossRate

The packet loss rate. Example: 4.

icmpDetail

The details about each response. Example:

[{"byteTransfer":32,"number":1,"result":1,"targetIp":"124.237.XX.XX","timeTransfer":14},{"byteTransfer":32,"number":2,"result":1,"targetIp":"124.237.XX.XX","timeTransfer":11},{"byteTransfer":32,"number":3,"result":1,"targetIp":"124.237.XX.XX","timeTransfer":11},{"byteTransfer":32,"number":4,"result":1,"targetIp":"124.237.XX.XX","timeTransfer":11}]

tracertHops

The number of tracert hops. Example: 33.

tracertTime

The average duration of tracert. Unit: milliseconds.

tracertList

The details about each tracert hop. Example:

[{"number":1,"tracertHost":"192.168.XX.XX","tracertTime":0},{"number":2,"tracertHost":"49.7.XX.XX","tracertTime":1},{"number":3,"tracertTime":0},{"number":4,"tracertTime":0},{"number":5,"tracertHost":"10.33.XX.XX","tracertTime":3},{"number":6,"tracertTime":0},{"number":7,"tracertHost":"218.30.XX.XX","tracertTime":1},{"number":8,"tracertHost":"36.110.XX.XX","tracertTime":5},{"number":9,"tracertHost":"27.129.XX.XX","tracertTime":11},{"number":10,"tracertTime":0},{"number":11,"tracertHost":"222.222.XX.XX","tracertTime":12},{"number":12,"tracertTime":0},{"number":13,"tracertTime":0},{"number":14,"tracertTime":0},{"number":15,"tracertHost":"124.237.XX.XX","tracertTime":11}]

TCP

Field

Description

url

The URL of the task. Example: www.aliyun.com.

targetIp

The destination IP address. Example: 25.12.XX.XX.

tcpTime

The average TCP connection timeout. Unit: milliseconds.

tcpMaxTime

The maximum duration of a TCP connection. Unit: milliseconds.

tcpMinTime

The minimum duration of a TCP connection. Unit: milliseconds.

tcpCount

The number of TCP connections. Example: 4.

tcpFailedCount

The number of failed TCP connections. Example: 3.

tcpSuccessRate

The success rate of TCP connections. Example: 0.75.

tcpDetail

The details about each TCP connection. Example:

[{"number":1,"result":1,"targetIp":"110.242.XX.XX","timeConnect":218},{"number":2,"result":1,"targetIp":"110.242.XX.XX","timeConnect":218},{"number":3,"result":1,"targetIp":"110.242.XX.XX","timeConnect":217},{"number":4,"result":1,"targetIp":"110.242.XX.XX","timeConnect":220}]

tracertHops

The number of tracert hops.

tracertList

The details about each tracert hop. Example:

[{"number":1,"tracertHost":"192.168.XX.XX","tracertTime":0},{"number":2,"tracertHost":"49.7.XX.XX","tracertTime":1},{"number":3,"tracertTime":0},{"number":4,"tracertTime":0},{"number":5,"tracertHost":"10.33.XX.XX","tracertTime":3},{"number":6,"tracertTime":0},{"number":7,"tracertHost":"218.30.XX.XX","tracertTime":1},{"number":8,"tracertHost":"36.110.XX.XX","tracertTime":5},{"number":9,"tracertHost":"27.129.XX.XX","tracertTime":11},{"number":10,"tracertTime":0},{"number":11,"tracertHost":"222.222.XX.XX","tracertTime":12},{"number":12,"tracertTime":0},{"number":13,"tracertTime":0},{"number":14,"tracertTime":0},{"number":15,"tracertHost":"124.237.XX.XX","tracertTime":11}]

DNS

Field

Description

url

The URL of the task. Example: www.aliyun.com.

dnsTime

The time consumed for DNS resolution. Unit: milliseconds.

aAdress

The IP address of the A record. Example:

[{"ip":"39.156.XX.XX"},{"ip":"39.156.XX.XX"}]

cnameAdress

The CNAME record. Example:

["tyjr-common-cn-hangzhou.aliyun.com"]

dnsDetail

The DNS details.

HTTP

Field

Description

url

The URL of the task. Example: www.aliyun.com.

dnsTime

The time consumed for DNS resolution. Unit: milliseconds.

connectTime

The connection duration. Unit: milliseconds.

sslTime

The SSL handshake time. Unit: milliseconds.

requestTime

The request duration. Unit: milliseconds.

waitTime

The waiting time. Unit: milliseconds.

downloadTime

The download time. Unit: milliseconds.

responseTime

The response time. Unit: milliseconds.

targetIp

The resolved destination IP address. Example: 25.12.XX.XX.

httpVersion

The HTTP version. Example:

  • HTTP/1.1

  • HTTP/2.0

  • QUIC

requestHeader

The HTTP request header. Example:

Accept: */*
Host: www.aliyun.com:80

responseHeader

The HTTP response header. Example:

Date: Mon, 22 May 2023 02:52:33 GMT
Content-Type: text/html; charset=GB2312
Transfer-Encoding: chunked
Connection: keep-alive

requestMethod

The HTTP request method. Example: GET.

responseCode

The HTTP status code. Example: 200.

requestBody

The HTTP request body.

responseBody

The HTTP response body.

responseSize

The size of the response body. Unit: bytes.

Website speed measurement

Basic data

Field

Description

url

The URL of the task. Example: www.aliyun.com.

browserType

The type of the browser. Example: Chrome.

lastByteTime

The total time consumed. Unit: milliseconds.

firstByteTime

The time to first byte (TTFB). Unit: milliseconds.

hundredKBTime

The time consumed to load 100 KB of content. Unit: milliseconds.

firstPaintTime

The First Paint Time (FPT). Unit: milliseconds.

firstScreenTime

The First Meaningful Paint (FMP). Unit: milliseconds.

domReadyTime

The Document Object Model (DOM) load time. Unit: milliseconds.

domCompleteTime

The DOM Content Loaded. Unit: milliseconds.

onLoadTime

The onload time. Unit: milliseconds.

baseDnsTime

The DNS lookup time of basic documents. Unit: milliseconds.

baseConnectTime

The TCP connection duration of basic documents. Unit: milliseconds.

baseSSLTime

The SSL connection duration of basic documents. Unit: milliseconds.

baseRequestTime

The request duration of basic documents. Unit: milliseconds.

baseWaitTime

The waiting time of basic documents. Unit: milliseconds.

baseDownloadTime

The download time of basic documents. Unit: milliseconds.

baseBytesDownload

The number of bytes downloaded from basic documents. Unit: KB.

baseDownloadSpeed

The download speed of basic documents. Unit: KB/s.

downSpeed

The overall download speed of the page. Unit: KB/s.

renderSpeed

The overall rendering speed of the page. Unit: KB/s.

roundTrips

The round-trip time (RTT).

dnsLookUps

The number of DNS resolutions.

tcpConnects

The number of TCP connections.

bytesDownload

The total number of downloaded bytes. Unit: KB.

resourceNum

The total number of resources.

resourceRightNum

The number of valid resources.

resourceErrorNum

The number of invalid resources.

targetIp

The destination IP address of basic documents.

Element data

Field

Description

baseDataId

The field is similar to the common field dataId.

resourceName

The name of the resource. Example: https://query.aliyun.com/r.

domain

The domain name to which the resource belongs. Example: query.aliyun.com.

resourceType

The resource type. Example: xhr.

method

The method of the request. Example: GET.

httpVersion

The HTTP version. Example: h2.

responseCode

The status code. Example: 200.

resourceSize

The size of the resource. Unit: bytes.

rsStartTime

The start time of the resource. Unit: milliseconds.

rsBlockTime

The blocking time of the resource. Unit: milliseconds.

rsDnsTime

The DNS query time of the resource. Unit: milliseconds.

rsConnectTime

The connection duration of the resource. Unit: milliseconds.

rsSSLTime

The SSL time of the resource. Unit: milliseconds.

rsRequestTime

The request duration of the resource. Unit: milliseconds.

rsWaitTime

The waiting time of the response. Unit: milliseconds.

rsDownloadTime

The download time of the resource. Unit: milliseconds.

rsResponseTime

The total time consumed by the resource. Unit: milliseconds.

targetIp

The destination IP address of the resource.

File download

Field

Description

url

The URL of the task. Example: www.aliyun.com.

dnsTime

The time consumed for DNS resolution. Unit: milliseconds.

connectTime

The connection duration. Unit: milliseconds.

sslTime

The SSL handshake time. Unit: milliseconds.

requestTime

The request duration. Unit: milliseconds.

waitTime

The waiting time. Unit: milliseconds.

downloadTime

The download time. Unit: milliseconds.

responseTime

The response time. Unit: milliseconds.

targetIp

The resolved destination IP address. Example: 25.12.XX.XX.

httpVersion

The HTTP version. Example:

  • HTTP/1.1

  • HTTP/2.0

  • QUIC

requestHeader

The HTTP request header. Example:

Accept: */*
Host: www.aliyun.com:80

responseHeader

The HTTP response header. Example:

Date: Mon, 22 May 2023 02:52:33 GMT
Content-Type: text/html; charset=GB2312
Transfer-Encoding: chunked
Connection: keep-alive

requestMethod

The HTTP request method. Example: GET.

responseCode

The HTTP status code. Example: 200.

requestBody

The HTTP request body.

responseBody

The HTTP response body.

md5

The Message Digest Method 5 (MD5) code of the file.

downloadSpeed

The average download speed. Unit: bytes/s.

fileSize

The total size of the file. Unit: bytes.

fileDownload

The size of the downloaded file. Unit: bytes.

samplingNum

The number of times that sampling is performed.

redirectNum

The number of redirections.