# Where is Logstash installed by default?

**URL:** <https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913>\
**Category:** Logstash\
**Created:** [December 9, 2022, 6:02pm UTC](https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913 "2022-12-09T18:02:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timer5764](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@timer5764](https://discuss.elastic.co/u/timer5764)\
**Post date:** [December 9, 2022, 6:02pm UTC](https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913/1 "2022-12-09T18:02:50Z")

</div>

I have a CentOS machine that I recently installed Logstash on, using the following command:

`sudo yum install logstash`

The command executed successfully and Logstash was installed, as shown in the screenshot below:

 ![logstash_installed](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f7f1ac171f26494a315a91b7a697fbad87a384b3.png)

However, now I can't find where the install location is. I'm trying to install the [Syslog plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-syslog.html) using the instructions [here](https://www.elastic.co/guide/en/logstash/current/working-with-plugins.html). However, I can't execute the plugin manager script -- located at `bin/logstash-plugin` -- because Logstash doesn't seem to be installed there.

Where is Logstash installed, so that I can execute the logstash-plugin manager?

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [December 9, 2022, 7:48pm UTC](https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913/2 "2022-12-09T19:48:14Z")

</div>

I would [expect yum](https://www.elastic.co/guide/en/logstash/current/dir-layout.html#deb-layout) to install the logstash rpm under /usr/share. If you cannot find it then try

```
 find / -type d -name logstash -print

```

---

<div class="post-metadata">

**Author:** ![timer5764](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@timer5764](https://discuss.elastic.co/u/timer5764)\
**Post date:** [December 9, 2022, 8:42pm UTC](https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913/3 "2022-12-09T20:42:47Z")

</div>

You were correct! `/usr/share` was where the Logstash files were. 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:** [January 6, 2023, 8:43pm UTC](https://discuss.elastic.co/t/where-is-logstash-installed-by-default/320913/4 "2023-01-06T20:43:31Z")

</div>

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