# How to install S3 input plugin

**URL:** <https://discuss.elastic.co/t/how-to-install-s3-input-plugin/221089>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 26, 2020, 5:47pm UTC](https://discuss.elastic.co/t/how-to-install-s3-input-plugin/221089 "2020-02-26T17:47:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdelpino](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cdelpino](https://discuss.elastic.co/u/cdelpino)\
**Post date:** [February 26, 2020, 5:47pm UTC](https://discuss.elastic.co/t/how-to-install-s3-input-plugin/221089/1 "2020-02-26T17:47:35Z")

</div>

Hello. I am trying to install the S3 input plugin in the elasticsearch Docker image. I am following these instructions:

> **[elastic/helm-charts](https://github.com/elastic/helm-charts/tree/master/elasticsearch#how-to-install-plugins)**
>
> You know, for Kubernetes. Contribute to elastic/helm-charts development by creating an account on GitHub.

and this is the exact the plugin I am trying to install:

[https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html#plugins-inputs-s3](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html#plugins-inputs-s3)

This is the error I am getting:

// ERROR: Unknown plugin logstash-input-s3

Is the plugin under a different name?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Julien\_MAILLERET](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/julien_mailleret/32/45074_2.png) [@Julien\_MAILLERET](https://discuss.elastic.co/u/Julien_MAILLERET)\
**Post date:** [March 6, 2020, 4:50pm UTC](https://discuss.elastic.co/t/how-to-install-s3-input-plugin/221089/2 "2020-03-06T16:50:17Z")

</div>

Hi @cdelpino,  
The plugin you are trying to install is for Logstash while you seem to use an Elasticsearch Docker image.

Installation on a Logstash Docker image is OK:

```bash
docker run docker.elastic.co/logstash/logstash:7.6.1 logstash-plugin install logstash-input-s3
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Validating logstash-input-s3
Installing logstash-input-s3
Installation successful 

```

If you are looking for a plugin to use S3 for Elasticsearch snapshot/restore, you should use [S3 Repository Plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-s3.html).

```bash
docker run docker.elastic.co/elasticsearch/elasticsearch:7.6.1 elasticsearch-plugin install --batch repository-s3
-> Installing repository-s3
-> Downloading repository-s3 from elastic
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.net.SocketPermission * connect,resolve
* java.util.PropertyPermission es.allow_insecure_settings read,write
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed repository-s3

```

---

<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:** [April 3, 2020, 5:02pm UTC](https://discuss.elastic.co/t/how-to-install-s3-input-plugin/221089/3 "2020-04-03T17:02:26Z")

</div>

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