# Kibana as a site plugin

**URL:** <https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026>\
**Category:** Elasticsearch\
**Created:** [June 10, 2014, 8:29pm UTC](https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026 "2014-06-10T20:29:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [June 10, 2014, 8:29pm UTC](https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026/1 "2014-06-10T20:29:50Z")

</div>

Referencing the post at  
[https://groups.google.com/d/msg/elasticsearch/L9WtITL63Lo/kGi1rTWbSbIJ](https://groups.google.com/d/msg/elasticsearch/L9WtITL63Lo/kGi1rTWbSbIJ) I am  
curious:

To install Kibana as a site plugin, it says to "Try to install it under  
/plugins/kibana3/\_site"

Does this mean I should have an installation as follows:

.../_plugins/kibana3/\_site_/kibana-3.1.0/...

where kibana-3.1.0 is the root directory in the .gz archive?

Thanks!

Brian

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7e33091a-ca46-4cd8-a1d0-26bd2365720c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e33091a-ca46-4cd8-a1d0-26bd2365720c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [June 12, 2014, 3:25pm UTC](https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026/2 "2014-06-12T15:25:49Z")

</div>

Not sure about the downsides of running Kibana as a site plugin, but here's  
how I got it to work so that others can perform create and run our initial  
evaluations with ease.

The Elasticsearch bin/plugin command doesn't seem to read the location into  
which I have put my configuration, and it's not necessary anyway. But it  
was very helpful to determine the exact directory structure.

First, I store the current versions of Elasticsearch and kibana in the /opt  
tree. The config directory contains updated versions of ES configurations  
that are suggested for use by a deployment, but the actual versions used  
will be outside of this directory tree and will likely be maintained by  
Puppet or similar tool. The plugins directory is where I have configured ES  
to look for plugins; as Kibana3 shows, the version of the plugins does not  
need to be tied directly to a specific version of ES even though this is  
the case when the plugin uses the Java API and not the REST API.

$ ls -1 /opt/elk/current  
bin  
config  
elasticsearch-1.2.1  
kibana-3.1.0  
logs  
plugins

So "installing" Kibana-3.1.0 as a site plugin was a simple matter of:

$ mkdir /opt/elk/current/plugins/kibana3  
$ ln -s /opt/elk/current/kibana-3.1.0 /opt/elk/current/plugins/kibana3/\_site

Verifying the link:

$ ls -l /opt/elk/current/plugins/kibana3/\_site  
lrwxr-xr-x 1 brian admin 33 Jun 11 14:16  
/opt/elk/current/plugins/kibana3/\_site -\> /opt/elk/current/kibana-3.1.0

Now it's just as if Kibana was installed directly into the plugins  
directory, but it didn't need to be stored there physically.

Brian

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 12, 2014, 10:39pm UTC](https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026/3 "2014-06-12T22:39:45Z")

</div>

Great tip, thanks for sharing that 🙂

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 13 June 2014 01:25, Brian [brian.from.fl@gmail.com](mailto:brian.from.fl@gmail.com) wrote:

> Not sure about the downsides of running Kibana as a site plugin, but  
> here's how I got it to work so that others can perform create and run our  
> initial evaluations with ease.
> 
> The Elasticsearch bin/plugin command doesn't seem to read the location  
> into which I have put my configuration, and it's not necessary anyway. But  
> it was very helpful to determine the exact directory structure.
> 
> First, I store the current versions of Elasticsearch and kibana in the /opt  
> tree. The config directory contains updated versions of ES configurations  
> that are suggested for use by a deployment, but the actual versions used  
> will be outside of this directory tree and will likely be maintained by  
> Puppet or similar tool. The plugins directory is where I have configured ES  
> to look for plugins; as Kibana3 shows, the version of the plugins does not  
> need to be tied directly to a specific version of ES even though this is  
> the case when the plugin uses the Java API and not the REST API.
> 
> $ ls -1 /opt/elk/current  
> bin  
> config  
> elasticsearch-1.2.1  
> kibana-3.1.0  
> logs  
> plugins
> 
> So "installing" Kibana-3.1.0 as a site plugin was a simple matter of:
> 
> $ mkdir /opt/elk/current/plugins/kibana3  
> $ ln -s /opt/elk/current/kibana-3.1.0  
> /opt/elk/current/plugins/kibana3/\_site
> 
> Verifying the link:
> 
> $ ls -l /opt/elk/current/plugins/kibana3/\_site  
> lrwxr-xr-x 1 brian admin 33 Jun 11 14:16  
> /opt/elk/current/plugins/kibana3/\_site -\> /opt/elk/current/kibana-3.1.0
> 
> Now it's just as if Kibana was installed directly into the plugins  
> directory, but it didn't need to be stored there physically.
> 
> Brian
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5f1102fe-b3c3-4a5a-b754-eef7f5168ba8%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624YiSAamQSpxs-VN4PTp9XJVUnqeTLpq5aAxMkZH5r%3DESQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YiSAamQSpxs-VN4PTp9XJVUnqeTLpq5aAxMkZH5r%3DESQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:22am UTC](https://discuss.elastic.co/t/kibana-as-a-site-plugin/18026/4 "2017-07-06T01:22:53Z")

</div>


