# Vega in Kibana Dashborad

**URL:** <https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008>\
**Category:** Kibana\
**Created:** [November 22, 2019, 5:31am UTC](https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008 "2019-11-22T05:31:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeeva](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jeeva](https://discuss.elastic.co/u/jeeva)\
**Post date:** [November 22, 2019, 5:31am UTC](https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008/1 "2019-11-22T05:31:56Z")

</div>

Hi Team,

I am new to ELK , i have tried to create basic chart in Vega using my index.  
I can able to see only one point(like ".") in my Vega output.  
I am using Kibana 7.4.2 version.  
Below is my Vega expressions, please help me to resolve this issue.

{  
$schema: [https://vega.github.io/schema/vega-lite/v2.json](https://vega.github.io/schema/vega-lite/v2.json)  
mark: bar  
data: {  
url: {  
%context%: true  
%timefield%: @timestamp  
index: carbuyerenq  
body: {  
size: 10000  
\_source: ["@timestamp","BE\_CustName","BE\_ENQNo"]  
}  
format: {property: "hits.hits"}  
}  
transform:[  
{ calculate: "toDate(datum.\_source['@timestamp'])", as: "time" }  
]  
encoding: {  
x: { field: "\_source.BE\_ENQNo", type: "temporal"}  
y: { field: "\_source.BE\_CustName", type: "quantitative"} }  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [November 22, 2019, 4:19pm UTC](https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008/2 "2019-11-22T16:19:06Z")

</div>

Hey @jeeva, what type of chart are you trying to create? I'd recommend taking a look at some of the sample data Vega visualizations are working backwards: [https://www.elastic.co/guide/en/kibana/current/add-sample-data.html](https://www.elastic.co/guide/en/kibana/current/add-sample-data.html)

---

<div class="post-metadata">

**Author:** ![jeeva](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@jeeva](https://discuss.elastic.co/u/jeeva)\
**Post date:** [November 27, 2019, 11:27am UTC](https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008/3 "2019-11-27T11:27:43Z")

</div>

Hi Brandon,

Thanks for your response , i will look into this samples.

---

<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:** [December 25, 2019, 11:41am UTC](https://discuss.elastic.co/t/vega-in-kibana-dashborad/209008/4 "2019-12-25T11:41:24Z")

</div>

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