專案

一般

配置概況

工作單 #199 » P9802001-Merchant and Device Transaction Statistics.json

marlboro chu, 2025-06-30 02:03

 
{
"result" : {
"id" : 603,
"orgId" : 1,
"folderId" : 136,
"folderUid" : "bemeqa2prz7k0d",
"uid" : "aemezeumc2cjka",
"name" : "P9802001-Merchant and Device Transaction Statistics",
"kind" : 1,
"type" : "table",
"description" : "",
"model" : {
"datasource" : {
"type" : "yesoreyeram-infinity-datasource",
"uid" : "aegaeyjq187b4e"
},
"description" : "",
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
},
"custom" : {
"align" : "auto",
"cellOptions" : {
"type" : "auto"
},
"inspect" : false
},
"mappings" : [ ],
"thresholds" : {
"mode" : "absolute",
"steps" : [ {
"color" : "green",
"value" : null
}, {
"color" : "red",
"value" : 80
} ]
},
"unit" : "locale"
},
"overrides" : [ {
"matcher" : {
"id" : "byName",
"options" : "Device Info Collection Rate%"
},
"properties" : [ {
"id" : "unit",
"value" : "percentunit"
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Transactions"
},
"properties" : [ {
"id" : "custom.width",
"value" : 120
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Device-Linked Transactions"
},
"properties" : [ {
"id" : "custom.width",
"value" : 208
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "High-Risk"
},
"properties" : [ {
"id" : "custom.width",
"value" : 128
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Device Data Collection%"
},
"properties" : [ {
"id" : "custom.width",
"value" : 186
}, {
"id" : "unit",
"value" : "percentunit"
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Total Amount (USD)"
},
"properties" : [ {
"id" : "custom.width",
"value" : 150
}, {
"id" : "decimals",
"value" : 2
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Unique Devices"
},
"properties" : [ {
"id" : "custom.width",
"value" : 128
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Merchant"
},
"properties" : [ {
"id" : "custom.width",
"value" : 156
} ]
}, {
"matcher" : {
"id" : "byName",
"options" : "Mid-Risk"
},
"properties" : [ {
"id" : "custom.width",
"value" : 128
} ]
} ]
},
"gridPos" : {
"h" : 14,
"w" : 24,
"x" : 0,
"y" : 20
},
"id" : 9802001,
"options" : {
"cellHeight" : "sm",
"footer" : {
"countRows" : false,
"enablePagination" : false,
"fields" : [ "txCount", "txCountDevice", "txAmount", "txCountUniDevice", "decisionHight", "decisionMid" ],
"reducer" : [ "sum" ],
"show" : true
},
"showHeader" : true,
"sortBy" : [ ]
},
"pluginVersion" : "11.4.0",
"targets" : [ {
"columns" : [ ],
"datasource" : {
"type" : "yesoreyeram-infinity-datasource",
"uid" : "aegaeyjq187b4e"
},
"filters" : [ ],
"format" : "table",
"global_query_id" : "",
"parser" : "backend",
"refId" : "A",
"root_selector" : "",
"source" : "url",
"type" : "json",
"url" : "/smartfds-adm-web/report/api/store-aggs",
"url_options" : {
"data" : "",
"method" : "GET",
"params" : [ {
"key" : "operator_id",
"value" : "${operator_id}"
}, {
"key" : "institute_id",
"value" : "${institute_id}"
}, {
"key" : "connector_id",
"value" : "${connector_id}"
}, {
"key" : "from_time",
"value" : "${__from}"
}, {
"key" : "to_time",
"value" : "${__to}"
}, {
"key" : "auth_token",
"value" : "${auth_token}"
}, {
"key" : "merchant_id",
"value" : "${merchant_id}"
} ]
}
} ],
"title" : "B-03 Daily Transaction Risk Volume (Count by Risk Level)",
"transformations" : [ {
"id" : "calculateField",
"options" : {
"alias" : "Transaction Volume (with Device Info)",
"binary" : {
"left" : {
"matcher" : {
"id" : "byName",
"options" : "txCountDevice"
}
},
"operator" : "/",
"right" : {
"matcher" : {
"id" : "byName",
"options" : "txCount"
}
}
},
"mode" : "binary",
"reduce" : {
"reducer" : "sum"
}
}
}, {
"id" : "organize",
"options" : {
"excludeByName" : {
"txRealAmount" : true
},
"includeByName" : { },
"indexByName" : {
"Transaction Volume (with Device Info)" : 5,
"decisionHight" : 6,
"decisionMid" : 7,
"merchantName" : 0,
"txAmount" : 3,
"txCount" : 1,
"txCountDevice" : 2,
"txCountUniDevice" : 4
},
"renameByName" : {
"Transaction Volume (with Device Info)" : "Device Data Collection%",
"decisionHight" : "High-Risk",
"decisionMid" : "Mid-Risk",
"merchantName" : "Merchant",
"txAmount" : "Total Amount (USD)",
"txCount" : "Transactions",
"txCountDevice" : "Device-Linked Transactions",
"txCountUniDevice" : "Unique Devices"
}
}
} ],
"type" : "table"
},
"version" : 27,
"meta" : {
"folderName" : "R98-Library",
"folderUid" : "bemeqa2prz7k0d",
"connectedDashboards" : 2,
"created" : "2025-05-20T10:58:14+08:00",
"updated" : "2025-05-28T14:21:01+08:00",
"createdBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
},
"updatedBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
}
}
}
}
(18-18/30)