跳到主要内容

Game Log

Game Log is a server-to-server feed: your game server sends player activity (logins, payments, concurrent users, money and item flows) to Alogame, and Alogame builds the KPI Dashboard from it.

Environments

Alogame's data team gives you the base URL (BASE_URL) and a sandbox key on the dev environment first. BASE_URL is the root address (scheme and host, no trailing slash, for example https://<host>) of the Alogame Game Log service for that environment; every endpoint in this documentation is appended to it. The dev and production environments have different BASE_URL values, and the data team sends yours together with your key. Production keys are issued after your data passes acceptance.

Who does what​

Alogame data teamYour game server
Registers your game and markets, issues the key (key_id and secret), declares and locks the schemaSigns every request with the secret
Registers recharge packages, items and actions in the CMSSends the ten log types as arrays in column order
Verifies three consecutive days of dataSends the full log of day D between 00:00 and 06:00 GMT+7 of D+1

The flow​

The diagram below shows every step. Steps highlighted in green are done by your game server; the rest is done by Alogame.

Each request is signed (HMAC-SHA256). A record that fails validation is rejected with a reason code and never counted in KPIs; it does not stop the rest of the batch.

Next steps​

  1. Authentication: onboarding and how to sign a request.
  2. Sending logs: the endpoint, realtime batches, full-log files, errors, and the implementation checklist.
  3. Log reference: rules shared by every log type, result codes and deadlines.
  4. Log types: every column of the ten log types, and the metadata you give Alogame.
  5. Acceptance checklist: what the data team verifies before production.