Run Kibana as a service on Windows

How can I run Kibana on my machine as a service so that I don't keep on pointing the folder and running it manually? I want to use a cURL syntax since it is what I'm using.

Is http://stackoverflow.com/questions/29261809/elastic-kibana-install-as-windows-service helpful?

You can use nssm from https://www.ulyaoth.net/resources/tutorial-install-logstash-and-kibana-on-a-windows-server.34/

I use it to run both Logstash and Kibana as a service.

Hello anhlqn, have you tried every step in the link? will everything work in there? i encountered this error while doing the IIS "The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <computer_name>$ has Read access to the physical path. Then test these settings again."

Unfortunately, you have to play with IIS proxy config to use it as a proxy for Kibana.

Hi anhlqn, I get this error although it will proceed but I'm not sure if it will work fine once it will be installed/run as a service on windows.

If you are interested in only running Kibana as a windows server, you can skip the IIS reverse proxy part. Just change the server IP in Kibana config to 0.0.0.0 or your server IP.