Asset log and Score log used to require the name of ID relevant to each log items for transmission. Now, you can simply send ID from real-time logs. If you skip the name when sending real-time logs, compose the following category to input the name additionally.
Category
- Fluentd type (Based on Log definition)
Server (Balancing loads to two servers) analytics-hivelog-03.withhive.com
analytics-hivelog-04.withhive.comRule for naming tag ha2union.game.[short name of game].common_meta e.g., ha2union.game.samplegame.common_meta Value of category field hive_common_meta e.g., {“category”:”hive_common_meta”,”game”:”samplegame”} Detailed transmission method - Http type (Based on Log definition)
Server https://analytics-log.withhive.com Value of category field hive_common_meta e.g., {“category”:”hive_common_meta”,”game”:”samplegame”} Detailed transmission method - Scribe type
Common Server common_meta_log Test Server test_common_meta_log
Log Specification
Field Name | Description | Type | Example | Required |
dateTime | The time metadata is defined or the moment metadata is sent Format: yyyy-mm-dd hh:MM:ss |
string | 2012-01-19 16:24:00 | N |
game | Short name of game | string | samplegame | Y |
servicemetrics | Short name of relevant log category e.g., score2, asset_var |
string | asset_var | Y |
type | The tyep of ID relevant to score2 and asset_var e.g., In the case of action_id and action_name in pairs, action is the type. |
string | action | Y |
id | The value of ID relevant to score2 and asset_var e.g., In the case of action_id=1001 and action_name=Test in pairs, 1001 is the value. |
int | 1001 | Y |
name | The name of ID ID relevant to score2 and asset_var e.g., In the case of action_id=1 and action_name=Test in pairs, Test is the name. |
string | Test | Y |
JSON sample
1 2 3 4 5 6 |
{"category":"hive_common_meta","name":"landing action 2","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"score2","type":"mode","id":6} {"category":"hive_common_meta","name":"lv032","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"score2","type":"submode","id":9000303} {"category":"hive_common_meta","name":"store2","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"score2","type":"grade","id":1} {"category":"hive_common_meta","name":"COLLECTION-2","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"asset_var","type":"action","id":11} {"category":"hive_common_meta","name":"PLAYER_LIST-2","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"asset_var","type":"item","id":110001} {"category":"hive_common_meta","name":"point-2","game":"misample","dateTime":"2018-10-30 15:49:11","servicemetrics":"asset_var","type":"asset","id":2} |