Log field details

Updated at:

This topic details the Mobile Analytics log fields.

Field name

Type

Comment

app_id

string

In the format of `appkey@os`.

app_name

string

The name of the application that corresponds to the `app_id`.

app_version

string

The version number of the application.

channel

string

The application distribution channel.

imei

string

International Mobile Equipment Identity.

imsi

string

International Mobile Subscriber Identity.

brand

string

The brand of the mobile device.

device_model

string

The model of the mobile device.

resolution

string

The screen resolution of the mobile device.

os

string

Operating system, such as Android or iPhone OS.

os_version

string

The version of the operating system.

carrier

string

Mobile carrier, such as China Mobile, China Unicom, or China Telecom.

access

string

The connected network, such as 2G, 3G, or Wi-Fi.

access_subtype

string

The network type, such as HSPA, EVDO, EDGE, or GPRS.

network_type

string

The network type transformed from the `access` and `access_subtype` fields.

client_ip

string

The client IP address.

country

string

The country or region parsed from `client_ip`.

province

string

The province, municipality, or autonomous region parsed from `client_ip`.

city

string

The prefecture-level city parsed from `client_ip`.

district

string

The area parsed from `client_ip`, such as South China or Northwest China.

session_id

string

The ID of a user session.

reach_time

string

The time the log arrived at the log server. This time can be used directly as the log time. The format is different from MaxCompute. It is a timestamp accurate to the millisecond.

event_id

string

The event ID for instrumentation. If the event ID is 2001, `page` indicates the current page and `arg1` indicates the previous page. If the event ID is 19999, `page` defaults to `page_extend` but can be rewritten by instrumentation, and `arg1` indicates the custom event name.

page

string

The page.

arg1

string

Event parameter. If the event ID is 1010, this is the foreground duration of the previous session, in milliseconds.

arg2

string

Event parameter. If the event ID is 1010, this is the background duration before the current session started, in milliseconds.

arg3

string

Event parameter.

args

string

Event parameters. A string of key-value properties from instrumentation calls, such as `setProperty()`.

local_time

string

The device time in `yyyy-mm-dd hh24:mi:ss` format.

local_timestamp

string

The device time in numeric UNIX timestamp format, accurate to the millisecond. Convert it to a date using the `from_unixtime` function.

utdid

string

A unique device identifier generated on the server-side.

user_nick

string

The long-term logon member name. A long-term logon remembers the last member who logged on to the device. Even if the application is opened again without logging on, the log still records the last logged-on member.

user_id

string

The long-term logon member ID.

short_user_nick

string

The short-term logon member name. A short-term logon refers to the member who is currently logged on.