# How to create a simple graph structure using Kibana xpack plugin

**URL:** <https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321>\
**Category:** Kibana\
**Created:** [May 18, 2017, 6:39pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321 "2017-05-18T18:39:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jobyjohny](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jobyjohny](https://discuss.elastic.co/u/jobyjohny)\
**Post date:** [May 18, 2017, 6:39pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/1 "2017-05-18T18:39:00Z")

</div>

I have inserted the below data into the elasticsearch and trying to view it in Kibana - graph options.  
I am using Kibana 5.2.2. Added the below records. Added the 2 columns and selected 2 icons. what are the next steps to view the graph  
curl -XPUT '[http://10.51.88.17:9200/casemanager2/test/t2](http://10.51.88.17:9200/casemanager2/test/t2)' -d '{"origin\_country\_code": 100,"merchant\_code" : 1002}';  
curl -XPUT '[http://10.51.88.17:9200/casemanager2/test/t3](http://10.51.88.17:9200/casemanager2/test/t3)' -d '{"origin\_country\_code": 200,"merchant\_code" : 1002}';  
curl -XPUT '[http://10.51.88.17:9200/casemanager2/test/t4](http://10.51.88.17:9200/casemanager2/test/t4)' -d '{"origin\_country\_code": 300,"merchant\_code" : 1003}';  
curl -XPUT '[http://10.51.88.17:920](http://10.51.88.17:920)

 ![](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b2e99ff9926bb1f97c736d317fac873da38d9ef1.PNG)0/casemanager2/test/t5' -d '{"origin\_country\_code": 400,"merchant\_code" : 1003}';

---

<div class="post-metadata">

**Author:** ![jobyjohny](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jobyjohny](https://discuss.elastic.co/u/jobyjohny)\
**Post date:** [May 19, 2017, 7:12pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/2 "2017-05-19T19:12:41Z")

</div>

Can someone look into this question ?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 20, 2017, 10:44pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/3 "2017-05-20T22:44:56Z")

</div>

You need to search for something against those fields, like a specific merchant or country code.

---

<div class="post-metadata">

**Author:** ![jobyjohny](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jobyjohny](https://discuss.elastic.co/u/jobyjohny)\
**Post date:** [May 22, 2017, 8:38pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/4 "2017-05-22T20:38:12Z")

</div>

Thanks Mark. I have tried to search with a value present in elastic search say 100.  
it doesn't return anything.PFA the screenshots.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5a10c5095f8ad988a0f456accb993a14c6bdccf2.PNG) ![](https://us1.discourse-cdn.com/elastic/original/3X/0/7/07dbe08e5bf0aa30bbcc1c2182f7a30a1e57b49f.PNG)

---

<div class="post-metadata">

**Author:** ![jobyjohny](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jobyjohny](https://discuss.elastic.co/u/jobyjohny)\
**Post date:** [June 1, 2017, 3:09pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/5 "2017-06-01T15:09:13Z")

</div>

Can some one please check this issue

---

<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:** [June 29, 2017, 3:09pm UTC](https://discuss.elastic.co/t/how-to-create-a-simple-graph-structure-using-kibana-xpack-plugin/86321/6 "2017-06-29T15:09:30Z")

</div>

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