Logstash S3 output plugin fails to upload txt files in S3

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

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