專案

一般

配置概況

工作單 #200 » P9703001-來源IP地理資訊.json

marlboro chu, 2025-06-30 01:59

 
{
"result" : {
"id" : 616,
"orgId" : 1,
"folderId" : 143,
"folderUid" : "bempo37hjqtq8d",
"uid" : "cemqkowfnupkwc",
"name" : "P9703001-來源IP地理資訊",
"kind" : 1,
"type" : "geomap",
"description" : "",
"model" : {
"datasource" : {
"type" : "elasticsearch",
"uid" : "f45b49c9-ba56-43c8-b278-a87adffdb57c"
},
"description" : "",
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
},
"custom" : {
"hideFrom" : {
"legend" : false,
"tooltip" : false,
"viz" : false
}
},
"mappings" : [ ],
"thresholds" : {
"mode" : "absolute",
"steps" : [ {
"color" : "semi-dark-green",
"value" : null
}, {
"color" : "semi-dark-red",
"value" : 80
} ]
}
},
"overrides" : [ {
"matcher" : {
"id" : "byFrameRefID",
"options" : "src_ip"
},
"properties" : [ {
"id" : "thresholds",
"value" : {
"mode" : "absolute",
"steps" : [ {
"color" : "semi-dark-green",
"value" : null
}, {
"color" : "semi-dark-red",
"value" : 80
} ]
}
} ]
} ]
},
"gridPos" : {
"h" : 11,
"w" : 24,
"x" : 0,
"y" : 29
},
"id" : 9703001,
"options" : {
"basemap" : {
"config" : { },
"name" : "Layer 0",
"type" : "default"
},
"controls" : {
"mouseWheelZoom" : false,
"showAttribution" : false,
"showDebug" : false,
"showMeasure" : false,
"showScale" : false,
"showZoom" : true
},
"layers" : [ {
"config" : {
"showLegend" : true,
"style" : {
"color" : {
"field" : "Count",
"fixed" : "dark-green"
},
"opacity" : 0,
"rotation" : {
"fixed" : 0,
"max" : 360,
"min" : -360,
"mode" : "mod"
},
"size" : {
"field" : "Count",
"fixed" : 5,
"max" : 25,
"min" : 12
},
"symbol" : {
"fixed" : "img/icons/marker/circle.svg",
"mode" : "fixed"
},
"text" : {
"field" : "Count",
"fixed" : "",
"mode" : "field"
},
"textConfig" : {
"fontSize" : 12,
"offsetX" : 0,
"offsetY" : 0,
"textAlign" : "center",
"textBaseline" : "middle"
}
}
},
"filterData" : {
"id" : "byRefId",
"options" : "src_ip"
},
"location" : {
"latitude" : "diiaInfo__deviceInfo__ip_src_latitude",
"longitude" : "diiaInfo__deviceInfo__ip_src_longitude",
"mode" : "coords"
},
"name" : "Source IP",
"tooltip" : true,
"type" : "markers"
} ],
"tooltip" : {
"mode" : "details"
},
"view" : {
"allLayers" : true,
"id" : "coords",
"lat" : 25,
"lon" : 121,
"shared" : false,
"zoom" : 2.6
}
},
"pluginVersion" : "11.4.0",
"targets" : [ {
"alias" : "",
"bucketAggs" : [ {
"field" : "diiaInfo__deviceInfo__ip_longitude",
"id" : "2",
"settings" : {
"min_doc_count" : "1",
"order" : "desc",
"orderBy" : "1",
"size" : "0"
},
"type" : "terms"
}, {
"field" : "diiaInfo__deviceInfo__ip_latitude",
"id" : "5",
"settings" : {
"min_doc_count" : "1",
"order" : "desc",
"orderBy" : "1",
"size" : "0"
},
"type" : "terms"
} ],
"datasource" : {
"type" : "elasticsearch",
"uid" : "f45b49c9-ba56-43c8-b278-a87adffdb57c"
},
"hide" : true,
"metrics" : [ {
"id" : "1",
"type" : "count"
} ],
"query" : "${decision_query:raw} AND diiaInfo__deviceInfo__udid:*",
"refId" : "req_ip",
"timeField" : "create_datetime"
}, {
"alias" : "",
"bucketAggs" : [ {
"field" : "diiaInfo__deviceInfo__ip_src_longitude",
"id" : "2",
"settings" : {
"min_doc_count" : "1",
"order" : "desc",
"orderBy" : "_term",
"size" : "0"
},
"type" : "terms"
}, {
"field" : "diiaInfo__deviceInfo__ip_src_latitude",
"id" : "3",
"settings" : {
"min_doc_count" : "1",
"order" : "desc",
"orderBy" : "_term",
"size" : "0"
},
"type" : "terms"
} ],
"datasource" : {
"type" : "elasticsearch",
"uid" : "f45b49c9-ba56-43c8-b278-a87adffdb57c"
},
"hide" : false,
"metrics" : [ {
"id" : "1",
"type" : "count"
} ],
"query" : "${decision_query:raw} AND \ndiiaInfo__deviceInfo__udid:*",
"refId" : "src_ip",
"timeField" : "create_datetime"
} ],
"title" : "C-01. 來源IP地理資訊",
"transformations" : [ {
"id" : "convertFieldType",
"options" : {
"conversions" : [ {
"destinationType" : "number",
"targetField" : "diiaInfo__deviceInfo__ip_longitude"
}, {
"destinationType" : "number",
"targetField" : "diiaInfo__deviceInfo__ip_latitude"
}, {
"destinationType" : "number",
"targetField" : "diiaInfo__deviceInfo__ip_src_longitude"
}, {
"destinationType" : "number",
"targetField" : "diiaInfo__deviceInfo__ip_src_latitude"
} ],
"fields" : { }
}
} ],
"type" : "geomap"
},
"version" : 3,
"meta" : {
"folderName" : "R97-Library",
"folderUid" : "bempo37hjqtq8d",
"connectedDashboards" : 3,
"created" : "2025-05-23T16:56:38+08:00",
"updated" : "2025-05-28T17:56:07+08:00",
"createdBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
},
"updatedBy" : {
"avatarUrl" : "/avatar/ce6412d58e966caaa26cac12eb99734b",
"id" : 1,
"name" : "admin"
}
}
}
}
(22-22/26)