Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding "prefix" to bucket silently drops data #45

Open
idsvandermolen opened this issue Feb 26, 2020 · 0 comments
Open

Adding "prefix" to bucket silently drops data #45

idsvandermolen opened this issue Feb 26, 2020 · 0 comments

Comments

@idsvandermolen
Copy link

We would like to be able to use prefixes (similiar to logstash-s3-output plugin), but when you add a "prefix" to the bucket field, this plugin silently drops data.
Config like:

google_cloud_storage {
  bucket => "my-logs/test"
  ...
}

You see a message like:
[2020-02-26T15:46:26,987][INFO ][logstash.outputs.googlecloudstorage][main] Uploading file to my-logs/test/logstash_gcs_cw534756.local_2020-02-26T15:00.part036.log.gz
but the logs are not ending up in the bucket. Removing /test from the bucket field uploads the logs to the root of the bucket (without a prefix).

Silently dropping data is not good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant