I am trying to get Kibana up and running on Centos. Following the instructions on the elastic site, I can successfully download the files and run in the console.
But is there any guidance anywhere that helps me get this set up to run as a service for a production environment?
In this case I don't have file src/bin/kibana.js in extracted folder. How I can register the systemctl service with /opt/kibana-4.3.1/bin/kibana run command?
I am not sure if this is still valid discussion, if not please just delete this post.
If you are interested in systemd, this is how I do it (including start after a reboot).
/opt/kibana is a symbolic link to /opt/kibana-4.5.1-1
which makes it very easy to upgrade/downgrade (you can create kibana_current) if you are using rpm/deb packages.
rsyslog (default in Redhat) /etc/rsyslog.d/kibana.conf:
but how do you get logs from in a separate place (not 'messages')?
you cannot easily pass NODE_OPTIONS because /opt/kibana/bin/kibana is not including it, you have to add at the end but before 'exec': [ -r /etc/default/kibana ] && . /etc/default/kibana
Old topic, I know. If I should create a new topic, please let me know.
I am trying to get kibana to output logs to /var/log/kibana/kibana.log so that I can process the http response codes better (using logstash filters), however, I can't get kibana to load after editing kibana.yml. It works when I use /opt/kibana/bin/kibana, and the logs go to the correct file, however, when I try to use the systemd file that comes with kibana, systemd says that everything is working fine, but I am unable to get kibana to load at all.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.