# Deploying kibana-5.6 on bluemix

**URL:** <https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164>\
**Category:** Kibana\
**Created:** [October 8, 2017, 7:26pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164 "2017-10-08T19:26:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chooi\_Ling\_Si\_Toh](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@Chooi\_Ling\_Si\_Toh](https://discuss.elastic.co/u/Chooi_Ling_Si_Toh)\
**Post date:** [October 8, 2017, 7:26pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/1 "2017-10-08T19:26:33Z")

</div>

Hi all,

Anyone have tried to deploy kibana version 5.6 on bluemix?  
I encountered issue of pushing the app to bluemix.  
Thank you for help alot..

Errorstack as below:  
async@0.2.10 /tmp/app/node\_modules/webpack/node\_modules/uglify-js/node\_modules/async  
Installing any new modules (package.json)

> dtrace-provider@0.6.0 install /tmp/app/node\_modules/dtrace-provider  
> node scripts/install.js  
> kibana@5.6.2 /tmp/app  
> └── (empty)  
> npm ERR! code 1  
> **ERROR** Unable to build dependencies: exit status 1  
> Failed to compile droplet  
> Exit status 223  
> Staging failed: Exited with status 223  
> Destroying container  
> Successfully destroyed container

FAILED  
Error restarting application: BuildpackCompileFailed

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2017, 5:17pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/2 "2017-10-11T17:17:15Z")

</div>

Hello,  
Can you give us more details from the install script that you're using?

---

<div class="post-metadata">

**Author:** ![Chooi\_Ling\_Si\_Toh](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@Chooi\_Ling\_Si\_Toh](https://discuss.elastic.co/u/Chooi_Ling_Si_Toh)\
**Post date:** [October 11, 2017, 5:24pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/3 "2017-10-11T17:24:41Z")

</div>

I was following the guide below..

> **[Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data - Cloud Foundry...](https://www.altoros.com/blog/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data/)**
>
> This tutorial provides instructions on how to deploy Kibana, an open-source analytics and visualization platform for searching, viewing, and interacting with data stored in Elasticsearch indices, to IBM Bluemix.
> The guidelines can be used for...

I have written to the blog author regarding on my finding to seek for their advice.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 11, 2017, 5:42pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/4 "2017-10-11T17:42:58Z")

</div>

From what it looks that is a really old article that mentions Kibana 4.3 which is currently EOL. Also, the code changes there are not entirely applicable to the current version of Kibana and we recommend not doing that as it will most likely break Kibana.

I have no experience with Bluemix, but if I had to do this I'd look into deploying Kibana as a Docker container. From what I can see here ( [https://www.ibm.com/blogs/bluemix/2017/02/deploy-scalable-docker-application/](https://www.ibm.com/blogs/bluemix/2017/02/deploy-scalable-docker-application/) ), Bluemix support deploying Docker containers and we provide an official Kibana docker image.  
And this is our current documentation on using Kibana in Docker. [https://www.elastic.co/guide/en/kibana/current/docker.html](https://www.elastic.co/guide/en/kibana/current/docker.html)

---

<div class="post-metadata">

**Author:** ![Chooi\_Ling\_Si\_Toh](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@Chooi\_Ling\_Si\_Toh](https://discuss.elastic.co/u/Chooi_Ling_Si_Toh)\
**Post date:** [October 17, 2017, 10:30am UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/5 "2017-10-17T10:30:09Z")

</div>

Good day Marius,

Appreciate very much for the suggestion.  
I have tried to follow [https://www.elastic.co/guide/en/kibana/current/\_configuring\_kibana\_on\_docker.html](https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html)  
to set up the kibana image in order to able run locally before deploy to bluemix.

I have

1. Installed docker
2. Pull kibana images

However, i have a problem to set up the elasticsearch url which i have created on bluemix on the kibana image.  
[http://bluemix:cad44f93985dbccd6ee5cd3c46d1eb09@nori-us-east-1.searchly.com](http://bluemix:cad44f93985dbccd6ee5cd3c46d1eb09@nori-us-east-1.searchly.com)  
Can advise on this? How can I open the image's kibana.yml file?  
I tried to follow the guide in [https://www.elastic.co/guide/en/kibana/current/\_configuring\_kibana\_on\_docker.html](https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html)  
but i cant get it through..  
Appreciate to have more detail guidance from you ..

the images which i have pull locally.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/0/009b29d3a1da31517fe35e0ded1d93e0c949205a.png)

wrong usage of docker-compose command..

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

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 17, 2017, 12:07pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/6 "2017-10-17T12:07:03Z")

</div>

There's an easy way to set Kibana settings without having to deal with docker-compose: you can set environment variables on your host and docker will check for them and add them in the kibana.yml file.The guide that you linked has a list of environment variables and their corespondent in kibana.yml.  
Basically you need to set everything to uppercase and replace the dots with underscores.  
In your case you would have to set `ELASTICSEARCH_URL` with the address of your ES machine.

---

<div class="post-metadata">

**Author:** ![Chooi\_Ling\_Si\_Toh](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@Chooi\_Ling\_Si\_Toh](https://discuss.elastic.co/u/Chooi_Ling_Si_Toh)\
**Post date:** [October 17, 2017, 5:51pm UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/7 "2017-10-17T17:51:01Z")

</div>

Thank you Marius.

I tried to set up the Variables for both USER and SYSTEM variable as below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/9/298d19d4009235b8a1d8abc0b47e9c3c119c6a78.png)

But the image still not picking up the Environment variables setting..  
To be noticed from the message.. the image is still pointing to [http://elasticsearch:9200](http://elasticsearch:9200)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/a/ba4cf8eb5d0f21856743c6baf6db4c5441fe2a2c.png)

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 18, 2017, 10:10am UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/8 "2017-10-18T10:10:58Z")

</div>

that looks like you set the environment variable in windows. as far as I know the IBM bluemix OS is an ubuntu version so I assume you're ssh-ing into that via windows?  
Can you clarify your setup better?  
If you're using Kibana on windows while having ES on Bluemix you wouldn't have to use Kibana in docker in windows, you just get the Kibana zip package, unzip it, change the settings in the kibana.yml file and then run Kibana from command line.

---

<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:** [November 15, 2017, 10:11am UTC](https://discuss.elastic.co/t/deploying-kibana-5-6-on-bluemix/103164/9 "2017-11-15T10:11:24Z")

</div>

Closed on November 15, 2017, 10:11am UTC

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