Kibana logs?

I am running kibana4 with command sudo nohup ./kibana, which create nohup.log.
I want kibana to run in the background and logs to be created in some file /var/log/kibana.log
Please guide me how to achieve it.


Setting up Kibana to run as a daemon isn't really different from running any other kind of program as a daemon. Exactly how to do it depends on what operating system you're using. The topic below contains instructions for CentOS. A third party has packaged it as Debian packages so if you run e.g. Debian or Ubuntu that's another avenue to explore.