# How to uninstall logstash service?

**URL:** <https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660>\
**Category:** Logstash\
**Created:** [May 14, 2020, 1:53pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660 "2020-05-14T13:53:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 14, 2020, 1:53pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660/1 "2020-05-14T13:53:50Z")

</div>

Hi, I have installed multiple instances of logstash on a single machine. Installation was done via system-install script provided with logstash package. Each instance has its own configuration folder.

But how can I uninstall the service including all files which have been created via system-install script?

Thanks, Andreas

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 14, 2020, 11:29pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660/2 "2020-05-14T23:29:24Z")

</div>

What OS?

---

<div class="post-metadata">

**Author:** ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)\
**Post date:** [May 15, 2020, 12:27pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660/3 "2020-05-15T12:27:38Z")

</div>

centos 7.x

---

<div class="post-metadata">

**Author:** ![Kavanaugh](https://avatars.discourse-cdn.com/v4/letter/k/d6d6ee/32.png) [@Kavanaugh](https://discuss.elastic.co/u/Kavanaugh)\
**Post date:** [May 17, 2020, 12:18pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660/5 "2020-05-17T12:18:29Z")

</div>

1. On systemd, use: systemctl **stop logstash** [.](https://www.walmartone.vip/)
2. On upstart, use: initctl **stop logstash**.
3. On sysv, use: /etc/init. d/ **logstash stop**.

---

<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 14, 2020, 12:18pm UTC](https://discuss.elastic.co/t/how-to-uninstall-logstash-service/232660/6 "2020-06-14T12:18:41Z")

</div>

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