# Cannot config logstash

**URL:** <https://discuss.elastic.co/t/cannot-config-logstash/130696>\
**Category:** Logstash\
**Created:** [May 5, 2018, 5:36am UTC](https://discuss.elastic.co/t/cannot-config-logstash/130696 "2018-05-05T05:36:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![NIloufarVafaei](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NIloufarVafaei](https://discuss.elastic.co/u/NIloufarVafaei)\
**Post date:** [May 5, 2018, 5:36am UTC](https://discuss.elastic.co/t/cannot-config-logstash/130696/1 "2018-05-05T05:36:30Z")

</div>

i am new to using ELK. i can run my Elasticsearch on 9200 and same for my Kibana on 5601 . but my command on terminal( sudo service logstash configtest ) tack back this line :"logstash: unrecognized service" .how can i fix that?

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [May 5, 2018, 6:16am UTC](https://discuss.elastic.co/t/cannot-config-logstash/130696/2 "2018-05-05T06:16:29Z")

</div>

After configuring `/etc/logstash/startup.options` (you might not need to change anything), run `LS_HOME/bin/system-install`, where LS\_HOME is the location that Logstash is installed (typically `/usr/share/logstash`).

---

<div class="post-metadata">

**Author:** ![NIloufarVafaei](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@NIloufarVafaei](https://discuss.elastic.co/u/NIloufarVafaei)\
**Post date:** [May 5, 2018, 6:36am UTC](https://discuss.elastic.co/t/cannot-config-logstash/130696/3 "2018-05-05T06:36:27Z")

</div>

thx. i can config logstash .another question, on my input ,i set path of log file and my config is ok but i cannot see my log file on kibana index pattern.do you know why?

---

<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:** [June 2, 2018, 6:36am UTC](https://discuss.elastic.co/t/cannot-config-logstash/130696/4 "2018-06-02T06:36:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
