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 log_file_prefix causes logstash to fail #46

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

Adding "prefix" to log_file_prefix causes logstash to fail #46

idsvandermolen opened this issue Feb 26, 2020 · 0 comments

Comments

@idsvandermolen
Copy link

When you add a prefix to log_file_prefix field, logstash fails with an error.
Config:

input {
  generator { }
}
output {
  google_cloud_storage {
    bucket => "my-logs"
    temp_directory => "/tmp/logstash-gcs"
    log_file_prefix => "/test/logstash_gcs"
    ...
  }
}

Error:

[2020-02-26T16:00:20,738][ERROR][logstash.javapipeline    ][main] Pipeline aborted due to error {:pipeline_id=>"main", :exception=>#<Errno::ENOENT: No such file or directory - /tmp/logstash-gcs/test/logstash_gcs_cw054563.local_2020-02-26T16:00.part001.log.gz>, :backtrace=>["org/jruby/RubyIO.java:1239:in `sysopen'"

Please align features with logstash-s3-output plugin.

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