-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
I spent some time fixing a problem below and wanted to leave this issue just in case someone runs into the same problem.
Error validating bucket write permissions! {:message=>"Failed to open TCP connection to
hoge.127.0.0.1:9000 (initialize: name or service not known)"
Clearly someone ran into it in the past
- The solution is to add this block which the document happens to include it.
Originally it was discussed in Allow non-AWS endpoints #100 (comment)
additional_settings => {
"force_path_style" => true
}
output {
stdout { codec => rubydebug }
s3 {
access_key_id => "minioadmin"
secret_access_key => "minioadmin"
endpoint => "http://127.0.0.1:9000"
bucket => "logstash"
additional_settings => {
"force_path_style" => true
}
}
}
Now force_path_style
is an option for Aws::S3::Client
:force_path_style (Boolean) — default: false — When set to true, the bucket name is always left in the request URI and never moved to the host as a sub-domain. See Plugins::S3BucketDns for more details.
Which makes sense that it does construct hoge.127.0.0.1:9000
in my case.
recall704
Metadata
Metadata
Assignees
Labels
No labels