# Run Kibana as a service on Windows

**URL:** <https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359>\
**Category:** Kibana\
**Created:** [February 22, 2016, 6:55am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359 "2016-02-22T06:55:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![arianayay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@arianayay](https://discuss.elastic.co/u/arianayay)\
**Post date:** [February 22, 2016, 6:55am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/1 "2016-02-22T06:55:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [February 22, 2016, 7:59am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/2 "2016-02-22T07:59:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [February 22, 2016, 6:47pm UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/3 "2016-02-22T18:47:18Z")

</div>

You can use nssm from [https://www.ulyaoth.net/resources/tutorial-install-logstash-and-kibana-on-a-windows-server.34/](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.

---

<div class="post-metadata">

**Author:** ![arianayay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@arianayay](https://discuss.elastic.co/u/arianayay)\
**Post date:** [February 26, 2016, 7:04am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/4 "2016-02-26T07:04:30Z")

</div>

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."

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [February 28, 2016, 7:12am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/5 "2016-02-28T07:12:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![arianayay](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@arianayay](https://discuss.elastic.co/u/arianayay)\
**Post date:** [February 29, 2016, 1:19am UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/6 "2016-02-29T01:19:09Z")

</div>

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.

![](https://us1.discourse-cdn.com/elastic/original/2X/c/c44ae024672b40cbdd7613522c68426d3283b33d.PNG)

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [March 1, 2016, 5:51pm UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/7 "2016-03-01T17:51:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:00pm UTC](https://discuss.elastic.co/t/run-kibana-as-a-service-on-windows/42359/8 "2017-07-06T14:00:41Z")

</div>


