Elastic Kibana - install as windows service

前端 未结 4 741
一生所求
一生所求 2020-12-13 01:50

How can I install Elastic Kibana (which is just a batch file) as a windows service?

It probably needs to depend on the ElasticSearch process as well (this assumes I\

4条回答
  •  不知归路
    2020-12-13 02:29

    The kibana.bat file delivered with Kibana 4.6.1 was not suited to use with sc create directly for me (Service start failed). I used nssm like this

    1. nssm install kibana461
    2. UI: choose kibana.bat as Application Path
    3. UI: select a log file to write to on "I/O" tab for stdout and stderr
    4. UI: on the "Dependencies" tab enter elasticsearch241 (or whatever you called it)
    5. UI: "Install Service"
    6. sc start kibana461

提交回复
热议问题