{"id":13295,"date":"2016-04-04T21:09:52","date_gmt":"2016-04-04T18:09:52","guid":{"rendered":"http:\/\/blog.altoros.com\/?p=9504"},"modified":"2019-06-20T03:18:11","modified_gmt":"2019-06-20T00:18:11","slug":"deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data","status":"publish","type":"post","link":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/","title":{"rendered":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/deploying-kibana-to-ibm-bluemix-1-300x108.png\" alt=\"deploying-kibana-to-ibm-bluemix\" width=\"200\" style=\"margin: 0px 0px 20px 15px;\" class=\"alignright size-medium wp-image-9543\" \/><\/p>\n<p>This tutorial provides instructions on how to deploy <a href=\"https:\/\/www.elastic.co\/kibana\/\" target=\"_blank\" rel=\"noopener noreferrer\">Kibana<\/a>, an open-source analytics and visualization platform for searching, viewing, and interacting with data stored in <a href=\"https:\/\/www.elastic.co\/elasticsearch\/\" target=\"_blank\" rel=\"noopener noreferrer\">Elasticsearch<\/a> indices, to IBM Bluemix.<\/p>\n<p>The guidelines can be used for scenarios when you set up Kibana in the Bluemix environment and it is not possible to work with the platform outside the PaaS because of security limitations or other reasons.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#Adapting_Kibana_for_Bluemix\" >Adapting Kibana for Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#Deploying_Kibana_to_Bluemix\" >Deploying Kibana to Bluemix<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#Exploring_data_with_Kibana\" >Exploring data with Kibana<\/a><\/li><\/ul><\/nav><\/div>\n<h3><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To follow the steps of this tutorial, you need:<\/p>\n<ul>\n<li>a Bluemix account<\/li>\n<li>a Kibana package downloaded to your local machine<\/li>\n<\/ul>\n<p>Kibana is a Node.js application. You can find its starting command in <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\"><a href=\"https:\/\/github.com\/elastic\/kibana\/blob\/main\/bin\/kibana#L24\" target=\"_blank\" rel=\"noopener noreferrer\">.\\bin\\kibana<\/a><\/code>. Before deploying Kibana to Bluemix, prepare your Bluemix environment:<\/p>\n<ul>\n<li>create a Bluemix application for Kibana<\/li>\n<li>install Bluemix and Cloud Foundry CLIs<\/li>\n<li>create an Elasticsearch instance or use the existing one<\/li>\n<\/ul>\n<p>Find the details on how to set up the Bluemix environment in <a href=\"https:\/\/www.altoros.com\/research-papers\/kibana-on-ibm-bluemix-how-to-deploy-and-use-for-visualization-of-elasticsearch-data\/\" target=\"_blank\" rel=\"noopener noreferrer\">this guide<\/a> (<em>&#8220;Kibana on IBM Bluemix: How to Deploy and Use for Visualization of Elasticsearch Data&#8221;<\/em>).<\/p>\n<p>When choosing a Kibana version to download from <a href=\"https:\/\/www.elastic.co\/downloads\/kibana\" target=\"_blank\" rel=\"noopener noreferrer\">Elastic<\/a>, keep in mind the target OS and the version of Elasticsearch. In this post, I use <a href=\"https:\/\/download.elastic.co\/kibana\/kibana\/kibana-4.3.1-linux-x64.tar.gz\" target=\"_blank\" rel=\"noopener noreferrer\">Kibana 4.3.1 for Linux<\/a> that is compatible with Elasticsearch 2.1. See the <a href=\"https:\/\/www.elastic.co\/guide\/en\/kibana\/4.3\/releasenotes.html\" target=\"_blank\" rel=\"noopener noreferrer\">release notes<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Adapting_Kibana_for_Bluemix\"><\/span>Adapting Kibana for Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To run Kibana in Bluemix, you need to customize the downloaded Kibana package to make it ready for deployment to the Cloud Foundry-based platform.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Kibana port<\/strong><\/p>\n<p>The first change is related to the port used for running Kibana.<\/p>\n<p>Normally, you should set the port in the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.\/config\/kibana.yml<\/code> configuration file before starting Kibana. If it is not set, port 5601 is used by default. Because we are going to run Kibana in Bluemix that assigns a random available port to an application during deployment, specifying the port value in the Kibana configuration becomes problematic. We just can\u2019t know the port number in advance.<\/p>\n<p>To solve this, change the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.\/src\/server\/config\/schema.js<\/code> script in the following way:<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/adapting-kibana-for-ibm-bluemix-port.png\" rel=\"attachment wp-att-9510\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/adapting-kibana-for-ibm-bluemix-port.png\" alt=\"adapting-kibana-for-ibm-bluemix-port\" width=\"640\" class=\"aligncenter size-full wp-image-9510\" \/><\/a><\/p>\n<p>The idea of the change is to get the port value from the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">process.env.PORT<\/code> environment variable if it is not specified in the configuration file. We use this variable because Bluemix sets it for an application when assigning the port to it.<\/p>\n<p>With this change, you should <strong>not<\/strong> define <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">server.port<\/code> in the configuration file when deploying Kibana to Bluemix.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Elasticsearch URL<\/strong><\/p>\n<p>The next Kibana configuration property we are interested in is the Elasticsearch URL.<\/p>\n<p>If you use an original Elasticsearch instance (not a built-on-top service), then you can just set its URL in the Kibana configuration. Skip the instructions below and go straight to the <strong>Kibana configuration<\/strong> section.<\/p>\n<p>In my case, I work with the Searchly service that is hosted in Bluemix. Its URL can change (for example, because of service redeployment), so hard coding the URL in the Kibana configuration is not the best choice. Instead, I change Kibana to retrieve the bound Elasticsearch service and get the URL from its details. To achieve this, do the following change in the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.\/src\/plugins\/elasticsearch\/index.js<\/code> script:<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/adapting-kibana-for-ibm-bluemix-elasticsearch-url.png\" rel=\"attachment wp-att-9509\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/adapting-kibana-for-ibm-bluemix-elasticsearch-url.png\" alt=\"adapting-kibana-for-ibm-bluemix-elasticsearch-url\" width=\"640\" class=\"aligncenter size-full wp-image-9509\" \/><\/a><\/p>\n<p>Again, the idea of the change is to retrieve the Elasticsearch URL value from the environment variable set by Bluemix for the application and use this value as default when the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">elasticsearch.url<\/code> property is not set in the configuration file.<\/p>\n<p>With this change, you also should <strong>not<\/strong> define <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">elasticsearch.url<\/code> in the configuration file when deploying the Kibana package to Bluemix.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Kibana configuration<\/strong><\/p>\n<p>To run Kibana, you need to set its configuration properties. So, before deploying the Kibana package to Bluemix, change the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.\/config\/kibana.yml<\/code> file with your settings. For my example, I\u2019ve set the following:<\/p>\n<pre style=\"padding-left: 30px;\"><code># Kibana uses an index in Elasticsearch to store saved searches, visualizations\r\n# and dashboards. It will create a new index if it doesn't already exist.\r\nkibana.index: \".kibana\"<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code># The default application to load.\r\nkibana.defaultAppId: \"discover\"<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code># Time in milliseconds to wait for responses from the back end or elasticsearch.\r\n# This must be > 0\r\nelasticsearch.requestTimeout: 300000<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code># Time in milliseconds for Elasticsearch to wait for responses from shards.\r\n# Set to 0 to disable.\r\nelasticsearch.shardTimeout: 30000<\/code><\/pre>\n<p>If you use an Elasticsearch instance (not a built-on-top service like I do), you should additionally set the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">elasticsearch.url<\/code> property. For example:<\/p>\n<pre style=\"padding-left: 30px;\"><code># The Elasticsearch instance to use for all your queries.\r\nelasticsearch.url: \"http:\/\/localhost:9200\"<\/code><\/pre>\n<p><strong>Note:<\/strong> Do not set the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">server.port<\/code> property to make Kibana use the port assigned to the application by Bluemix as described in the <strong>Kibana port<\/strong> section. If you need, you can specify other Kibana properties in the configuration file.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Cloud Foundry manifest<\/strong><\/p>\n<p>For deploying the application to Bluemix, create the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">manifest.yml<\/code> file in the application root directory:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">---\r\napplications:\r\n- name: kibana431\r\n  command: node src\/cli<\/pre>\n<p>The <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">command<\/code> property should contain the start command for an application. For Kibana, you can get this command from its start script: <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">.\/bin\/kibana<\/code>.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Deploying_Kibana_to_Bluemix\"><\/span>Deploying Kibana to Bluemix<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>When the Kibana package is ready to be deployed to Bluemix, execute the following command from its root directory:<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/deploying-kibana-to-ibm-bluemix.png\" rel=\"attachment wp-att-9514\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/deploying-kibana-to-ibm-bluemix.png\" alt=\"deploying-kibana-to-ibm-bluemix\" width=\"640\" class=\"aligncenter size-full wp-image-9514\" \/><\/a><\/p>\n<p>Wait until Cloud Foundry finishes uploading the Kibana package.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-uploading-kibana.png\" rel=\"attachment wp-att-9513\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-uploading-kibana.png\" alt=\"cloud-foundry-cli-uploading-kibana\" width=\"640\" height=\"73\" class=\"aligncenter size-full wp-image-9513\" \/><\/a><\/p>\n<p>Then, you\u2019ll see that Cloud Foundry stops the application and tries to start it using your package.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-starting-kibana.png\" rel=\"attachment wp-att-9512\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-starting-kibana.png\" alt=\"cloud-foundry-cli-starting-kibana\" width=\"640\" height=\"141\" class=\"aligncenter size-full wp-image-9512\" \/><\/a><\/p>\n<p>Wait again.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-running-kibana.png\" rel=\"attachment wp-att-9511\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/cloud-foundry-cli-running-kibana.png\" alt=\"cloud-foundry-cli-running-kibana\" width=\"640\" class=\"aligncenter size-full wp-image-9511\" \/><\/a><\/p>\n<p>Note that the application URL is printed out in the console during deployment. Access the Kibana application with this URL.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/running-kibana-on-ibm-bluemix.png\" rel=\"attachment wp-att-9520\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/running-kibana-on-ibm-bluemix.png\" alt=\"running-kibana-on-ibm-bluemix\" width=\"640\" class=\"aligncenter size-full wp-image-9520\" \/><\/a><\/p>\n<p>Because I haven\u2019t populated Elasticsearch with any data yet, Kibana shows nothing at the moment.<\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Exploring_data_with_Kibana\"><\/span>Exploring data with Kibana<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To see some sample data in Kibana, I need to populate Elasticsearch provided by the Searchly service. For doing this, I\u2019m going to create an index and use the Elasticsearch APIs to post data to the index.<\/p>\n<p>On the Searchly dashboard, I add a new index.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/ibm-bluemix-elasticsearch-services-for-kibana.png\" rel=\"attachment wp-att-9519\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/ibm-bluemix-elasticsearch-services-for-kibana.png\" alt=\"ibm-bluemix-elasticsearch-services-for-kibana\" width=\"640\" class=\"aligncenter size-full wp-image-9519\" \/><\/a><\/p>\n<p>Note that it already has the <em>.kibana<\/em> index generated by Kibana itself. So, I create the <em>items<\/em> index to store sample data.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/elasticsearch-searchly-dashboard.png\" rel=\"attachment wp-att-9517\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/elasticsearch-searchly-dashboard.png\" alt=\"elasticsearch-searchly-dashboard\" width=\"640\" class=\"aligncenter size-full wp-image-9517\" \/><\/a><\/p>\n<p>Then, I execute some <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">curl<\/code> requests in the command line to post data to the items index:<\/p>\n<pre style=\"padding-left: 30px;\"><code>curl -XPOST \"<strong>http:\/\/bluemix:403dae2d2047554f2aaf544dce1b5657@dori-us-east-1.searchly.com<\/strong>\/items\/item\/\" -d \"{\\\"message\\\" : \\\"Check out Elasticsearch\\\",\\\"post_date\\\" : \\\"2016-02-24T15:03:05\\\"}\"<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>curl -XPOST \"http:\/\/bluemix:403dae2d2047554f2aaf544dce1b5657@dori-us-east-1.searchly.com\/items\/item\/\" -d \"{\\\"message\\\" : \\\"Check out Elasticsearch second time\\\",\\\"post_date\\\" : \\\"2016-02-24T12:21:07\\\"}\"<\/code><\/pre>\n<pre style=\"padding-left: 30px;\"><code>curl -XPOST \"http:\/\/bluemix:403dae2d2047554f2aaf544dce1b5657@dori-us-east-1.searchly.com\/items\/item\" -d \"{\\\"message\\\" : \\\"Check out Elasticsearch again\\\",\\\"post_date\\\" : \\\"2016-02-24T12:26:12\\\"}\"<\/code><\/pre>\n<p>If you are doing similar requests, make sure to use the URL of your Elasticsearch. For the Searchly service, the URL is printed on the Searchly dashboard.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/searchly-dashboard-elasticsearch-url.png\" rel=\"attachment wp-att-9521\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/searchly-dashboard-elasticsearch-url.png\" alt=\"searchly-dashboard-elasticsearch-url\" width=\"640\" class=\"aligncenter size-full wp-image-9521\" \/><\/a><\/p>\n<p>After the <code style=\"color: #222222; background-color: #e6e6e6; padding: 1px 2px;\">curl<\/code> commands are completed, check the index content on the Dashboard.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/searchly-dashboard-overview.png\" rel=\"attachment wp-att-9522\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/searchly-dashboard-overview.png\" alt=\"searchly-dashboard-overview\" width=\"640\" class=\"aligncenter size-full wp-image-9522\" \/><\/a><\/p>\n<p>Then, check the messages in Kibana. To see them, configure an index pattern.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/configuring-kibana-index-pattern.png\" rel=\"attachment wp-att-9516\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/configuring-kibana-index-pattern.png\" alt=\"configuring-kibana-index-pattern\" width=\"640\" class=\"aligncenter size-full wp-image-9516\" \/><\/a><\/p>\n<p>Inspect the <strong>Discover<\/strong> page where you\u2019ll see the messages.<\/p>\n<p><a href=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana.png\" rel=\"attachment wp-att-9518\"><img decoding=\"async\" src=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana.png\" alt=\"exploring-data-with-kibana\" width=\"640\" class=\"aligncenter size-full wp-image-9518\" \/><\/a><\/p>\n<p>Do not forget to adjust the Kibana time filter.<\/p>\n<p>For step-by-step guidance on how to work with Kibana in Bluemix, refer to <a href=\"https:\/\/www.altoros.com\/research-papers\/kibana-on-ibm-bluemix-how-to-deploy-and-use-for-visualization-of-elasticsearch-data\/\">Kibana on IBM Bluemix: How to Deploy and Use for Visualization of Elasticsearch Data<\/a>. The paper provides instructions on how to set up your Bluemix environment, configure Elasticsearch, and then deploy Kibana to Bluemix for exploring Elasticsearch data.<\/p>\n<hr\/>\n<p><center><small>The post is written by <strong>Hanna Yurkevich<\/strong>, edited and published by <a href=\"https:\/\/www.altoros.com\/blog\/author\/viktoryia-fedzkovich\/\">Victoria Fedzkovich<\/a> and <a href=\"https:\/\/www.altoros.com\/blog\/author\/alex\/\">Alex Khizhniak<\/a>.<\/small><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<\/p>\n<p>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.<\/p>\n<p>The guidelines can be used for scenarios when you set up Kibana in the Bluemix environment and it is not possible to [&#8230;]<\/p>\n","protected":false},"author":67,"featured_media":44452,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":"","_links_to":"","_links_to_target":""},"categories":[214],"tags":[873,187],"class_list":["post-13295","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-cloud-native","tag-ibm-bluemix"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros<\/title>\n<meta name=\"description\" content=\"From the tutorial, you&#039;ll also learn how to adapt Kibana, which is not cloud-native, for the use in the platform.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros\" \/>\n<meta property=\"og:description\" content=\"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 scenarios when you set up Kibana in the Bluemix environment and it is not possible to [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/\" \/>\n<meta property=\"og:site_name\" content=\"Altoros\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-04T18:09:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-20T00:18:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1783\" \/>\n\t<meta property=\"og:image:height\" content=\"679\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Hanna Yurkevich\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hanna Yurkevich\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/\"},\"author\":{\"name\":\"Hanna Yurkevich\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ad2ea4a275e5d1fbc885f1e7566b60e\"},\"headline\":\"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data\",\"datePublished\":\"2016-04-04T18:09:52+00:00\",\"dateModified\":\"2019-06-20T00:18:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/\"},\"wordCount\":1012,\"commentCount\":8,\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/exploring-data-with-kibana-1.png\",\"keywords\":[\"Cloud-Native\",\"IBM Bluemix\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/\",\"name\":\"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/exploring-data-with-kibana-1.png\",\"datePublished\":\"2016-04-04T18:09:52+00:00\",\"dateModified\":\"2019-06-20T00:18:11+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ad2ea4a275e5d1fbc885f1e7566b60e\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/exploring-data-with-kibana-1.png\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/exploring-data-with-kibana-1.png\",\"width\":1783,\"height\":679},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/\",\"name\":\"Altoros\",\"description\":\"Insight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ad2ea4a275e5d1fbc885f1e7566b60e\",\"name\":\"Hanna Yurkevich\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/hanna.yurkevich-140x140.jpg\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/hanna.yurkevich-140x140.jpg\",\"contentUrl\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/hanna.yurkevich-140x140.jpg\",\"caption\":\"Hanna Yurkevich\"},\"description\":\"Hanna Yurkevich is a Java developer at Altoros. She mainly specializes in back-end development using Java, web technologies, and modern frameworks. Hanna\u2019s professional interests also include Cloud Foundry and its distributions, such as IBM Bluemix.\",\"url\":\"https:\\\/\\\/www.altoros.com\\\/blog\\\/author\\\/hanna-yurkevich\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros","description":"From the tutorial, you'll also learn how to adapt Kibana, which is not cloud-native, for the use in the platform.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/","og_locale":"en_US","og_type":"article","og_title":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros","og_description":"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 scenarios when you set up Kibana in the Bluemix environment and it is not possible to [...]","og_url":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/","og_site_name":"Altoros","article_published_time":"2016-04-04T18:09:52+00:00","article_modified_time":"2019-06-20T00:18:11+00:00","og_image":[{"width":1783,"height":679,"url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png","type":"image\/png"}],"author":"Hanna Yurkevich","twitter_misc":{"Written by":"Hanna Yurkevich","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#article","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/"},"author":{"name":"Hanna Yurkevich","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/7ad2ea4a275e5d1fbc885f1e7566b60e"},"headline":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data","datePublished":"2016-04-04T18:09:52+00:00","dateModified":"2019-06-20T00:18:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/"},"wordCount":1012,"commentCount":8,"image":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png","keywords":["Cloud-Native","IBM Bluemix"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/","url":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/","name":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data | Altoros","isPartOf":{"@id":"https:\/\/www.altoros.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#primaryimage"},"image":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#primaryimage"},"thumbnailUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png","datePublished":"2016-04-04T18:09:52+00:00","dateModified":"2019-06-20T00:18:11+00:00","author":{"@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/7ad2ea4a275e5d1fbc885f1e7566b60e"},"breadcrumb":{"@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#primaryimage","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/04\/exploring-data-with-kibana-1.png","width":1783,"height":679},{"@type":"BreadcrumbList","@id":"https:\/\/www.altoros.com\/blog\/deploying-kibana-to-ibm-bluemix-for-exploring-elasticsearch-data\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.altoros.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Deploying Kibana to IBM Bluemix for Exploring Elasticsearch Data"}]},{"@type":"WebSite","@id":"https:\/\/www.altoros.com\/blog\/#website","url":"https:\/\/www.altoros.com\/blog\/","name":"Altoros","description":"Insight","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.altoros.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.altoros.com\/blog\/#\/schema\/person\/7ad2ea4a275e5d1fbc885f1e7566b60e","name":"Hanna Yurkevich","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/hanna.yurkevich-140x140.jpg","url":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/hanna.yurkevich-140x140.jpg","contentUrl":"https:\/\/www.altoros.com\/blog\/wp-content\/uploads\/2016\/12\/hanna.yurkevich-140x140.jpg","caption":"Hanna Yurkevich"},"description":"Hanna Yurkevich is a Java developer at Altoros. She mainly specializes in back-end development using Java, web technologies, and modern frameworks. Hanna\u2019s professional interests also include Cloud Foundry and its distributions, such as IBM Bluemix.","url":"https:\/\/www.altoros.com\/blog\/author\/hanna-yurkevich\/"}]}},"_links":{"self":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/13295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/comments?post=13295"}],"version-history":[{"count":12,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/13295\/revisions"}],"predecessor-version":[{"id":44454,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/posts\/13295\/revisions\/44454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media\/44452"}],"wp:attachment":[{"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/media?parent=13295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/categories?post=13295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.altoros.com\/blog\/wp-json\/wp\/v2\/tags?post=13295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}