Open rliskunov opened 1 year ago
Hello,
Inspecting the error message a bit
ERROR source{component_kind="source" component_id=firehose component_type=aws_kinesis_firehose component_name=firehose}: vector::internal_events::aws_kinesis_firehose: Error occurred while handling request. error="Rejection(MethodNotAllowed)" stage="receiving" error_type="request_failed" error_code=http_response_500 request_id= internal_log_rate_limit=true
, within the source code I see we (Vector) are the ones setting that HTTP 500 response code, which we are doing when we can't find a specific error code that matches what we received.
The more useful piece is what you called out:
Rejection(MethodNotAllowed)
, that is being returned from AWS. In this spec I saw the following description
"The specified method is not allowed against this resource. Modify the bucket’s policy to allow the correct Amazon S3 operation permissions."
So my first recommendation/hunch would be that there is something going on with the configuration on the AWS side.
A note for the community
Problem
I was following the instructions Ingesting AWS CloudWatch Logs via AWS Kinesis Firehose https://vector.dev/guides/advanced/cloudwatch-logs-firehose/
Vector is deployed in a cluster and https access is provided using Ingress (nginx). Additionally, shortened the
transforms.parse
part to get full information from CloudWatch in the console. However, I can't get the logs in Vector when submitting requests.I have attached information in the logs when I make a request directly to a vector and expect to get
MethodNotAllowed
.Configuration
Version
0.33.0-distroless-libc
Debug Output
Example Data
Additional Context
A subscription has been created for the logs
References
No response