Kibana map point-to-point connection

Kibana guide states that "A point-to-point connection plots aggregated data paths between the source and the destination. Thicker, darker lines symbolize more connections between a source and destination, and thinner, lighter lines symbolize less connections."
Before visualizing such connections in the map, I assume I need to create connections first in elasticsearch between the source and destination nodes (using geo_point). How should I do that?

To be specific, I have the following two documents in the database, how should I define the connectivity between a cm's location in cm_status_index5/_doc/0 and an rpd's location in the cm_status_index5_rpd/_doc/0?
GET /cm_status_index5/_doc/0
{
"_index" : "cm_status_index5",
"_type" : "_doc",
"_id" : "0",
"_version" : 1,
"_seq_no" : 0,
"_primary_term" : 1,
"found" : true,
"_source" : {
"cm" : [
{
"mac" : "00:25:2e:06:6f:ca",
"status" : "active",
"location" : "POINT (41 -70)"
},
{
"mac" : "00:25:2e:06:6f:cb",
"status" : "inactive",
"location" : "POINT (42 -71)"
}
]
}
}

And:
GET /cm_status_index5_rpd/_doc/0
{
"_index" : "cm_status_index5_rpd",
"_type" : "_doc",
"_id" : "0",
"_version" : 2,
"_seq_no" : 1,
"_primary_term" : 1,
"found" : true,
"_source" : {
"rpd" : [
{
"mac" : "11:11:11:11:11:11",
"name" : "rpd1",
"status" : "active",
"location" : "POINT (-69 41.1)"
},
{
"mac" : "22:22:22:22:22:22",
"name" : "rpd2",
"status" : "active",
"location" : "POINT (-71 41.1)"
}
]
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.