filebeat:
inputs:
- type: aws-s3
endpoint: "http://obs.cn-north-4.myhuaweicloud.com"
access_key_id: "###"
secret_access_key: "###"
non_aws_bucket_name: log-parse
path_style: false
bucket_list_interval: 300s
path_style: false
expand_event_list_from_field: Records
when my config file like this, filebeat still accessing the style_path URL.
this is the wireshark capture
and the log is here
{"log.level":"error","@timestamp":"2026-01-23T17:06:31.325+0800","log.logger":"input.aws-s3","log.origin":{"function":"github.com/elastic/beats/v7/filebeat/input/v2/compat.(*runner).Start.func1","file.name":"compat/compat.go","file.line":165},"message":"Input 'aws-s3' failed with: failed to create S3 API for bucket ARN 'arn:aws:s3:::log-parse': Error: failed to get AWS region for bucket: operation error S3: GetBucketLocation, https response error StatusCode: 403, RequestID: 0000019BEA1AEB13440DE52248FD3797, HostID: 36AAAQAAEAABAAAQAAEAABAAAQAAEAABAAAaI=AAAAAAAAAAAAAAAAAAAAAAAAAA, api error VirtualHostDomainRequired: Virtual host domain is required while accessing a specific bucket.","service.name":"filebeat","id":"2CC8B6DF4B1614B1","ecs.version":"1.6.0"}
