# Testing logstash when installed as a service

**URL:** <https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981>\
**Category:** Logstash\
**Created:** [June 19, 2015, 12:15pm UTC](https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981 "2015-06-19T12:15:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [June 19, 2015, 12:15pm UTC](https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981/1 "2015-06-19T12:15:59Z")

</div>

I remember before I installed logstash as a service I'd start it command line which was great for testing. Now as a service I'm not sure how to test with output going to the console. I have this installed using the PPA for Ubuntu. Any help would be wonderful...thank you.

---

<div class="post-metadata">

**Author:** ![abcfy2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abcfy2/32/453_2.png) [@abcfy2](https://discuss.elastic.co/u/abcfy2)\
**Post date:** [June 19, 2015, 1:19pm UTC](https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981/2 "2015-06-19T13:19:22Z")

</div>

Put your config files(\*.conf) into `/etc/logstash/conf.d`, and run `/opt/logstash/bin/logstash -f /etc/logstash/conf.d`.

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [June 20, 2015, 11:35am UTC](https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981/3 "2015-06-20T11:35:20Z")

</div>

That did the trick...thank you.

---

<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, 5:37am UTC](https://discuss.elastic.co/t/testing-logstash-when-installed-as-a-service/23981/4 "2017-07-06T05:37:00Z")

</div>


