# Vega-lite data source

**URL:** https://discuss.elastic.co/t/vega-lite-data-source/139559
**Category:** Kibana
**Created:** [July 11, 2018, 12:13pm UTC](https://discuss.elastic.co/t/vega-lite-data-source/139559 "2018-07-11T12:13:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Aditi\_Shah](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@Aditi\_Shah](https://discuss.elastic.co/u/Aditi_Shah)
#### Post date: [July 11, 2018, 12:13pm UTC](https://discuss.elastic.co/t/vega-lite-data-source/139559/1 "2018-07-11T12:13:52Z")

</div>

I have data that is not indexed on elasticsearch.  
I need to use that data on Vega-lite for specific visuals.  
I used the vega-lite option of url for my data source.  
My data source is hosted on my domain, but when I run the script, I get "Loading failed" error.  
Whereas the github data source given by vega-lite works well.  
Kindly help 🙂

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 12, 2018, 1:28am UTC](https://discuss.elastic.co/t/vega-lite-data-source/139559/2 "2018-07-12T01:28:58Z")

</div>

@nyuriks ?

---

<div class="post-metadata">

### Author: ![nyuriks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nyuriks/32/26171_2.png) [@nyuriks](https://discuss.elastic.co/u/nyuriks)
#### Post date: [July 12, 2018, 2:16am UTC](https://discuss.elastic.co/t/vega-lite-data-source/139559/3 "2018-07-12T02:16:06Z")

</div>

@Aditi_Shah, most likely you are running into [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) issues. You might have to reconfigure your server to allow access to the data.

---

<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: [August 9, 2018, 2:16am UTC](https://discuss.elastic.co/t/vega-lite-data-source/139559/4 "2018-08-09T02:16:09Z")

</div>

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