# Configuring Canvas

**URL:** <https://discuss.elastic.co/t/configuring-canvas/122611>\
**Category:** Kibana\
**Created:** [March 5, 2018, 11:12pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611 "2018-03-05T23:12:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ave19](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ave19/32/11631_2.png) [@ave19](https://discuss.elastic.co/u/ave19)\
**Post date:** [March 5, 2018, 11:12pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/1 "2018-03-05T23:12:31Z")

</div>

Hello,

I'm poking around. I need to change my `localhost:9200` Elasticsearch source to a slightly different private IP. Is there a place to drop a configuration yet? Or a right way to edit the existing datasource?

Thanks

---

<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:** [March 5, 2018, 11:23pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/2 "2018-03-05T23:23:05Z")

</div>

Hey,  
Can you please give us more information about your use case. Like what kind of configuration are you looking for in your canvas workspace.

Thank you  
Rashmi

---

<div class="post-metadata">

**Author:** ![ave19](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ave19/32/11631_2.png) [@ave19](https://discuss.elastic.co/u/ave19)\
**Post date:** [March 5, 2018, 11:26pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/3 "2018-03-05T23:26:23Z")

</div>

Sure thing!

I have a VM with Elasticsearch, Kibana and Canvas installed and working. The VM is a VirtualBox variety. I have a tunnel from my VM's host to an Elasticsearch cluster with some data I can test with.

If I am in my VM and do something like `curl 10.0.2.2:9200` I can reach that cluster.

How do I configure an Elasticsearch datasource to point to it instead of `localhost:9200`?

---

<div class="post-metadata">

**Author:** ![ave19](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ave19/32/11631_2.png) [@ave19](https://discuss.elastic.co/u/ave19)\
**Post date:** [March 5, 2018, 11:28pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/4 "2018-03-05T23:28:59Z")

</div>

Or, i suppose any arbitrary url, including setting username, password and port?

---

<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:** [March 5, 2018, 11:52pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/5 "2018-03-05T23:52:52Z")

</div>

Thanks for getting back, I will ping few people who directly work with Canvas to chime in here to help you out: cc / @Joe_Fleming @rashid any inputs?

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [March 9, 2018, 5:02pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/6 "2018-03-09T17:02:37Z")

</div>

The setting you use for Canvas should be identical to the setting you use for Kibana. In fact, there's no other way to configure it than the `kibana.yml` file. In your case, I believe you'll want to set the following in that file:

```auto
server.host: "10.0.2.2"

```

If, as you say, you can reach that IP from within the VM, then that'll instruct Kibana to use that hostname to talk to Elasticsearch, and you should be all set. You can also tweak the port and set up any SSL stuff there as well.

---

<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:** [April 6, 2018, 5:02pm UTC](https://discuss.elastic.co/t/configuring-canvas/122611/7 "2018-04-06T17:02:49Z")

</div>

Closed on April 6, 2018, 5:02pm UTC

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