# Logstash S3 output plugin fails to upload txt files in S3

**URL:** <https://discuss.elastic.co/t/logstash-s3-output-plugin-fails-to-upload-txt-files-in-s3/353352>\
**Category:** Logstash\
**Created:** [February 15, 2024, 9:53am UTC](https://discuss.elastic.co/t/logstash-s3-output-plugin-fails-to-upload-txt-files-in-s3/353352 "2024-02-15T09:53:44Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ersalil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ersalil/32/131773_2.png) [@ersalil](https://discuss.elastic.co/u/ersalil)\
**Post date:** [February 15, 2024, 4:35pm UTC](https://discuss.elastic.co/t/logstash-s3-output-plugin-fails-to-upload-txt-files-in-s3/353352/6 "2024-02-15T16:35:28Z")

</div>

Can you please share the ls -al for the etc/logstash and ./conf.d  
Just want to know if the file listed under is config or conf, as \*.conf is the regex.

Also I found the similar ticket resolved: [Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties](https://discuss.elastic.co/t/could-not-find-log4j2-configuration-at-path-usr-share-logstash-config-log4j2-properties/111857)

If you are not version specific try installing new version for the Logstash

---

_[View the full topic](https://discuss.elastic.co/t/logstash-s3-output-plugin-fails-to-upload-txt-files-in-s3/353352)._
