# Vega network map

**URL:** <https://discuss.elastic.co/t/vega-network-map/143170>\
**Category:** Kibana\
**Created:** [August 6, 2018, 1:09pm UTC](https://discuss.elastic.co/t/vega-network-map/143170 "2018-08-06T13:09:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![1fe60245fe160bc0f8ab](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/1fe60245fe160bc0f8ab/32/62635_2.png) [@1fe60245fe160bc0f8ab](https://discuss.elastic.co/u/1fe60245fe160bc0f8ab)\
**Post date:** [August 6, 2018, 1:09pm UTC](https://discuss.elastic.co/t/vega-network-map/143170/1 "2018-08-06T13:09:15Z")

</div>

Hi all,

During the last few days I've been trying to create a network visualization similar to vega's airport connections map ([https://vega.github.io/vega/examples/airport-connections/](https://vega.github.io/vega/examples/airport-connections/)) that will show me the amount of traffic between routers/switches, with no success. The main problem seems to be a way to create a map in vega that's not one of the given maps but a custom one (preferably not based upon coordinates but pre-defined locations on screen).

Is there a good guide to vega and elastic, their integration? Maybe something that remotely reminds of this thing? I've seen the sankey graph in elastiflow... that's close but not quite it.

Cheers.

---

<div class="post-metadata">

**Author:** ![christophilus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophilus/32/42991_2.png) [@christophilus](https://discuss.elastic.co/u/christophilus)\
**Post date:** [August 6, 2018, 2:49pm UTC](https://discuss.elastic.co/t/vega-network-map/143170/2 "2018-08-06T14:49:38Z")

</div>

Unfortunately, Vega support in Kibana is currently experimental, so the documentation isn't great.

There's this:

> **[Custom Vega Visualizations in Kibana 6.2
	  	 | Elastic](https://www.elastic.co/blog/custom-vega-visualizations-in-kibana)**
>
> Interested in a walkthrough of Vega-based visualizations in Kibana? Check out this video. Beginning with Kibana 6.2, users can now go beyond the built-in visualizations offered. This new visualiz...

And the various things it links to. If you can run 6.3, it ships with sample data. On the home screen, look for the link that says: "Load a data set and a Kibana dashboard"

That has a Vega visualization built in which might help. It's the airport visualization that you referred to, so it may not be totally helpful, but it will at least show how a combo of Kibana + Vega + map can be made to work.

---

<div class="post-metadata">

**Author:** ![christophilus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophilus/32/42991_2.png) [@christophilus](https://discuss.elastic.co/u/christophilus)\
**Post date:** [August 6, 2018, 3:08pm UTC](https://discuss.elastic.co/t/vega-network-map/143170/3 "2018-08-06T15:08:05Z")

</div>

Er. Correction, the sample data and visualizations are coming in 6.4, so they aren't in 6.3! So, if you really want to see them, you either have to wait for 6.4, or you need to run a dev-build of Kibana: [https://github.com/elastic/kibana/](https://github.com/elastic/kibana/)

---

<div class="post-metadata">

**Author:** ![shivy](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@shivy](https://discuss.elastic.co/u/shivy)\
**Post date:** [August 17, 2018, 2:45am UTC](https://discuss.elastic.co/t/vega-network-map/143170/4 "2018-08-17T02:45:12Z")

</div>

Currently, from what I can tell, even when I build ES and Kibana from the 6.4 branch on Github, it won't support this visualization.

The airport visualization is using v4 of the Vega schema, ES/Kibana on 6.4 only support up to v3.3.1 (or something like that).

Sad times, but perhaps a future version will support these really awesome Vega visualisations 🙂

---

<div class="post-metadata">

**Author:** ![christophilus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christophilus/32/42991_2.png) [@christophilus](https://discuss.elastic.co/u/christophilus)\
**Post date:** [August 31, 2018, 7:10pm UTC](https://discuss.elastic.co/t/vega-network-map/143170/5 "2018-08-31T19:10:48Z")

</div>

Interesting. It should be in 6.4, so I find that surprising.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/2/828ffdb92641f63ceba97a988d42e5cb6dc06989.png)

Do you see that "add data" / "view data" screen when you go to the sample data screen?

I think it's using that very airports visualization that you mentioned.

Best,  
Chris

---

<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 28, 2018, 7:10pm UTC](https://discuss.elastic.co/t/vega-network-map/143170/6 "2018-09-28T19:10:48Z")

</div>

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