# Kibana map point-to-point connection

**URL:** https://discuss.elastic.co/t/kibana-map-point-to-point-connection/340772
**Category:** Elasticsearch
**Created:** [August 14, 2023, 4:30pm UTC](https://discuss.elastic.co/t/kibana-map-point-to-point-connection/340772 "2023-08-14T16:30:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Hannah\_Zhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hannah_zhang/32/124605_2.png) [@Hannah\_Zhang](https://discuss.elastic.co/u/Hannah_Zhang)
#### Post date: [August 14, 2023, 4:30pm UTC](https://discuss.elastic.co/t/kibana-map-point-to-point-connection/340772/1 "2023-08-14T16:30:04Z")

</div>

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)"  
}  
]  
}  
}

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 11, 2023, 4:30pm UTC](https://discuss.elastic.co/t/kibana-map-point-to-point-connection/340772/2 "2023-09-11T16:30:45Z")

</div>

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