You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
also possible to use environment variables to define settings.</p><divclass="section"><divclass="titlepage"><div><div><h3class="title"><aid="docker-bind-mount-config"></a>Bind-mounted configuration<ahref="https://github.com/elastic/kibana/edit/5.6/docs/setup/docker.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3></div></div></div><p>One way to configure Kibana on Docker is to provide <codeclass="literal">kibana.yml</code> via bind-mounting.
633
633
With <codeclass="literal">docker-compose</code>, the bind-mount can be specified like this:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-yaml">services:
634
634
kibana:
635
-
image: docker.elastic.co/kibana/kibana:5.6.6
635
+
image: docker.elastic.co/kibana/kibana:5.6.7
636
636
volumes:
637
637
- ./kibana.yml:/usr/share/kibana/config/kibana.yml</pre></div></div><divclass="section"><divclass="titlepage"><div><div><h3class="title"><aid="docker-env-config"></a>Environment variable configuration<ahref="https://github.com/elastic/kibana/edit/5.6/docs/setup/docker.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3></div></div></div><p>Under Docker, Kibana can be configured via environment variables. When
638
638
the container starts, a helper process checks the environment for variables that
<aclass="ulink" href="https://www.elastic.co/guide/en/x-pack/5.6/xpack-settings.html" target="_top">X-Pack Settings</a> can be configured
676
676
with this technique.</p><p>These variables can be set with <codeclass="literal">docker-compose</code> like this:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-yaml">services:
677
677
kibana:
678
-
image: docker.elastic.co/kibana/kibana:5.6.6
678
+
image: docker.elastic.co/kibana/kibana:5.6.7
679
679
environment:
680
680
SERVER_NAME: kibana.example.org
681
681
ELASTICSEARCH_URL: http://elasticsearch.example.org</pre></div><p>Since environment variables are translated to CLI arguments, they take
</a></span></div><divclass="chapter"><divclass="titlepage"><div><div><h2class="title"><aid="_installing_plugins"></a>Installing Plugins<ahref="https://github.com/elastic/kibana/edit/5.6/docs/plugins.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2></div></div></div><p>Use the following command to install a plugin:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">bin/kibana-plugin install <package name or URL></pre></div><p>When you specify a plugin name without a URL, the plugin tool attempts to download an official Elastic plugin, such as:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ bin/kibana-plugin install x-pack</pre></div><h3><aid="_installing_plugins_from_an_arbitrary_url"></a>Installing Plugins from an Arbitrary URL<ahref="https://github.com/elastic/kibana/edit/5.6/docs/plugins.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>You can download official Elastic plugins simply by specifying their name. You
630
630
can alternatively specify a URL to a specific plugin, as in the following
631
-
example:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.6.zip</pre></div><p>You can specify URLs that use the HTTP, HTTPS, or <codeclass="literal">file</code> protocols.</p><h3><aid="_installing_plugins_to_an_arbitrary_directory"></a>Installing Plugins to an Arbitrary Directory<ahref="https://github.com/elastic/kibana/edit/5.6/docs/plugins.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Use the <codeclass="literal">-d</code> or <codeclass="literal">--plugin-dir</code> option after the <codeclass="literal">install</code> command to specify a directory for plugins, as in the following
631
+
example:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-5.6.7.zip</pre></div><p>You can specify URLs that use the HTTP, HTTPS, or <codeclass="literal">file</code> protocols.</p><h3><aid="_installing_plugins_to_an_arbitrary_directory"></a>Installing Plugins to an Arbitrary Directory<ahref="https://github.com/elastic/kibana/edit/5.6/docs/plugins.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>Use the <codeclass="literal">-d</code> or <codeclass="literal">--plugin-dir</code> option after the <codeclass="literal">install</code> command to specify a directory for plugins, as in the following
632
632
example:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ bin/kibana-plugin install file:///some/local/path/x-pack.zip -d path/to/directory</pre></div><divclass="note admon"><divclass="icon"><imgalt="Note" src="images/icons/note.png" /></div><divclass="admon_content"><p>This command creates the specified directory if it does not already exist.</p></div></div><h3><aid="_installing_plugins_with_linux_packages"></a>Installing Plugins with Linux packages<ahref="https://github.com/elastic/kibana/edit/5.6/docs/plugins.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h3><p>The Kibana server needs to be able to write to files in the <codeclass="literal">optimize</code> directory. If you’re installing plugins using sudo or su you’ll
633
633
want to make sure these commands are ran as the user <codeclass="literal">kibana</code>. This user is already added for you as part of the package installation.</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ sudo -u kibana bin/kibana-plugin install x-pack</pre></div><p>If plugins were installed as a different user and the server is not starting, then you will need to change the owner of these files:</p><divclass="pre_wrapper"><preclass="programlisting prettyprint lang-shell">$ chown -R kibana:kibana /path/to/kibana/optimize</pre></div></div><divclass="navfooter"><spanclass="prev"><ahref="kibana-plugins.html">
<ahref="_configuring_kibana_on_docker.html">Configuring Kibana on Docker
628
628
»
629
629
</a></span></div><divclass="section"><divclass="titlepage"><div><div><h2class="title"><aid="_pulling_the_image"></a>Pulling the image<ahref="https://github.com/elastic/kibana/edit/5.6/docs/setup/docker.asciidoc" class="edit_me" title="Edit this page on GitHub" rel="nofollow">edit</a></h2></div></div></div><p>Obtaining Kibana for Docker is as simple as issuing a <codeclass="literal">docker pull</code> command
630
-
against the Elastic Docker registry.</p><p>The Docker image for Kibana 5.6.6 can be retrieved with the following
0 commit comments