# Plugin installation

**URL:** <https://discuss.elastic.co/t/plugin-installation/358679>\
**Category:** Logstash\
**Created:** [May 3, 2024, 12:46am UTC](https://discuss.elastic.co/t/plugin-installation/358679 "2024-05-03T00:46:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Honestabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honestabe/32/122763_2.png) [@Honestabe](https://discuss.elastic.co/u/Honestabe)\
**Post date:** [May 3, 2024, 12:46am UTC](https://discuss.elastic.co/t/plugin-installation/358679/1 "2024-05-03T00:46:25Z")

</div>

Is there a way to specify the directory to install the plugin to? Our home directory of logstash is not in /usr/share/logstash or the /etc/logstash. I have ran the install command but i am not sure if it was installed in the right place.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [May 3, 2024, 5:09am UTC](https://discuss.elastic.co/t/plugin-installation/358679/2 "2024-05-03T05:09:16Z")

</div>

Welcome to the community!

I don't see that option. The plugin should be inserted by LS itself. If I'm not wrong, in the subdirectory in logstash/vendor/bundle/jruby//gems

---

<div class="post-metadata">

**Author:** ![Honestabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honestabe/32/122763_2.png) [@Honestabe](https://discuss.elastic.co/u/Honestabe)\
**Post date:** [May 3, 2024, 4:04pm UTC](https://discuss.elastic.co/t/plugin-installation/358679/3 "2024-05-03T16:04:56Z")

</div>

Thank you for the reply. Is there a way to test plugin is working properly?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [May 3, 2024, 7:11pm UTC](https://discuss.elastic.co/t/plugin-installation/358679/4 "2024-05-03T19:11:28Z")

</div>

How to test? Send data to LS, include plugin in your .conf and test.  
Not sure are you developing a custom plugin or have an issue with the included plugin.

Few suggestions:

1. Increase the log level in logstash.yml  
`log.level: trace`  
`config.debug: true`  
Check [LS logging](https://www.elastic.co/guide/en/logstash/current/logging.html) options. Its possible to set more details on a particular level, check `_node/logging`

2. Review you .conf file, test you .conf file:  
`sudo bin/logstash-f <path_to_config_file> -t`

3. If is still there a problem, remove everything from the filter until your data show up in the output, can be a file

```auto
output {
    file {
        path => "/path/data-%{+YYYY-MM}.txt"
    }
}

```

1. Add debugging in the output

```auto
output { 
  stdout { codec => rubydebug }
}

```

1. If still not working please specify:

- LS &OS version, container or not
- Which plugin cause problem
- Logs
- Sample data, can be usable dummy
- Your conf file

---

<div class="post-metadata">

**Author:** ![Honestabe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/honestabe/32/122763_2.png) [@Honestabe](https://discuss.elastic.co/u/Honestabe)\
**Post date:** [May 6, 2024, 3:47pm UTC](https://discuss.elastic.co/t/plugin-installation/358679/5 "2024-05-06T15:47:02Z")

</div>

Thanks ! That helped a narrow it down. looks like the plugin is working fine.
