Last active
January 11, 2020 21:41
-
-
Save technosophos/5009484 to your computer and use it in GitHub Desktop.
An upstart (Ubuntu 12.04) script for starting Kibana as a service. The file goes in /etc/init/. This goes with the Upstart script for Logstash (http://cookbook.logstash.net/recipes/using-upstart/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# kibana.conf# kibana - log viewer | |
# | |
description "Kibana logstash viewer" | |
start on virtual-filesystems | |
stop on runlevel [06] | |
respawn | |
respawn limit 5 30 | |
limit nofile 65550 65550 | |
# Environment | |
env HOME=/opt/kibana | |
chdir /opt/kibana | |
setuid logstash | |
setgid adm | |
console log | |
# Run Kibana, which is in /opt/kibana | |
script | |
ruby kibana.rb | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This uses a user called 'logstash', though you could create your own user just as easily.