# Logstash install xpack plugin error

**URL:** <https://discuss.elastic.co/t/logstash-install-xpack-plugin-error/305660>\
**Category:** Logstash\
**Tags:** elastic-stack-monitoring, docker\
**Created:** [May 26, 2022, 6:22am UTC](https://discuss.elastic.co/t/logstash-install-xpack-plugin-error/305660 "2022-05-26T06:22:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![1065916870](https://avatars.discourse-cdn.com/v4/letter/1/e47774/32.png) [@1065916870](https://discuss.elastic.co/u/1065916870)\
**Post date:** [May 26, 2022, 6:22am UTC](https://discuss.elastic.co/t/logstash-install-xpack-plugin-error/305660/1 "2022-05-26T06:22:24Z")

</div>

I used docker-compose setup with logstash-oss image, but I get an error when I install xpack plugin , I want to monitor my logstash service on kibana

```auto
You are using the OSS-only distribution of Logstash. As of version 6.3+ X-Pack
is bundled in the standard distribution of this software by default;
consequently it is no longer available as a plugin. Please use the standard
distribution of Logstash if you wish to use X-Pack features.
ERROR: Invalid pack for: x-pack, reason: x-pack not an installable plugin, message: x-pack not an installable plugin

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/f/afe3b4137ccb3b91ea90a095cc1ef6d90529587e.png)

---

<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 26, 2022, 6:24am UTC](https://discuss.elastic.co/t/logstash-install-xpack-plugin-error/305660/2 "2022-05-26T06:24:58Z")

</div>

Welcome to our community! 😃  
In future please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

You would be better off using the default distribution, as it contains all the necessary things you need for this.

---

<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 23, 2022, 6:24am UTC](https://discuss.elastic.co/t/logstash-install-xpack-plugin-error/305660/3 "2022-06-23T06:24:59Z")

</div>

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