Install Sense in FreeBSD

I have Kibana installed with pkg install kibana43 and it is working nicely. Sense looks like a useful tool, so I looked at the install instructions but am having trouble. I can't find a kibana binary! The service rc file /usr/local/etc/rc.d/kibana has:

procname="/usr/local/bin/node"

Can this lead to what I need? I've not used node before.

There is not currently direct support for FreeBSD and it's being tracked in this issue.

That package is not maintained by Elastic:

Name           : kibana43
Version        : 4.3.1
Installed on   : Fri Apr  1 22:28:30 2016 UTC
Origin         : textproc/kibana43
Architecture   : freebsd:10:*
Prefix         : /usr/local
Categories     : textproc www
Licenses       : APACHE20
Maintainer     : kozlov.sergey.404@gmail.com
WWW            : https://www.elastic.co/products/kibana
Comment        : Browser based analytics and search interface to ElasticSearch
Annotations    :
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 83.5MiB
Description    :
Kibana is an open source (Apache Licensed), browser based analytics and search
dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana
strives to be easy to get started with, while also being flexible and powerful,
just like Elasticsearch.

Kibana 4.3 is compatible with Elasticsearch 2.1.x.

WWW: https://www.elastic.co/products/kibana
Locked         : no

Looking at the rc.d file (/usr/local/etc/rc.d/kibana) it appears the package is installing node as a separate dependency and not using the binary (bin/kibana). You might be able to install using BABEL_DISABLE_CACHE=1 node /usr/local/www/kibana43/src/cli/cli.js plugin --config /usr/local/etc/kibana.yml --install elastic/sense but I was unable to get it to work.

My suggestion would be to use a supported distribution RedHat/CentOS/Ubuntu or anything Debian based. You can there install with the package manager or using the download from the download page: https://www.elastic.co/downloads/kibana

Okay thanks. I'll sit on it for now, since it's not a core feature. Hopefully more mainline FreeBSD support for this will improve over time.

In case it's any help, I installed sense on a FreeBSD kibana45 install with the command (as root):

node /usr/local/www/kibana45/src/cli plugin --install elastic/sense -c /usr/local/etc/kibana.yml

Brilliant, thank you! Installed and working in my kibana45 instance.