# Logstash-output-google\_cloud\_storage plugin does not fail when expected

**URL:** <https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500>\
**Category:** Logstash\
**Created:** [October 21, 2019, 2:25pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500 "2019-10-21T14:25:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niki\_Maslarski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niki_maslarski/32/56262_2.png) [@Niki\_Maslarski](https://discuss.elastic.co/u/Niki_Maslarski)\
**Post date:** [October 21, 2019, 2:25pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500/1 "2019-10-21T14:25:33Z")

</div>

Hi all,

I'm using logstash to store events/logs in to google cloud storage via the logstash.  
Using this plugin [https://www.elastic.co/guide/en/logstash/current/plugins-outputs-google\_cloud\_storage.html](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-google_cloud_storage.html)

However recently I discovered I've uploaded wrong json\_key\_file in one of my landscapes, and for days (weeks) logstash has been running and not logging any error that it cannot store the files.

I've verified the issue, and it seems it's not logging any error at all.  
I tried setting the log4j2 level to _debug_ and forward the app output to stdout, however the only logs I can see it the incoming events the following message, like it works as expected:

```auto
Uploading file to <my-bucket>/events-_event-logstash1-7b747f9779-zttg9_2019-10-21T13:00.part000.f9b790ff-c080-49b3-b579-380855ff1a72.log

```

However it is provided with invalid credentials for gcp and the file is never uploaded.  
Is it something that I'm misconfiguring, or is it a bug?

Best Regards,  
Niki

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [October 21, 2019, 2:28pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500/2 "2019-10-21T14:28:59Z")

</div>

Is that the same as [this](https://github.com/logstash-plugins/logstash-output-google_cloud_storage/issues/35) issue?

---

<div class="post-metadata">

**Author:** ![Niki\_Maslarski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niki_maslarski/32/56262_2.png) [@Niki\_Maslarski](https://discuss.elastic.co/u/Niki_Maslarski)\
**Post date:** [October 21, 2019, 2:37pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500/3 "2019-10-21T14:37:28Z")

</div>

Probably yes, it sounds the same when I read trough the description.  
However when I was looking for the issue it didn't occur to me it might be the same from the title.  
Sorry for the duplication.

---

<div class="post-metadata">

**Author:** ![Niki\_Maslarski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niki_maslarski/32/56262_2.png) [@Niki\_Maslarski](https://discuss.elastic.co/u/Niki_Maslarski)\
**Post date:** [November 1, 2019, 2:12pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500/4 "2019-11-01T14:12:44Z")

</div>

Is there any chance this bug to be fixed in the near future?  
Or are you open to contributions?

---

<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:** [November 29, 2019, 2:12pm UTC](https://discuss.elastic.co/t/logstash-output-google-cloud-storage-plugin-does-not-fail-when-expected/204500/5 "2019-11-29T14:12:51Z")

</div>

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