Skip to content

Output fails with 413 Payload Too Large #785

Open
@msvticket

Description

@msvticket

Output is failing occasionally since ElasticSearch is giving a http status 413 response with the message {"Message":"Request size exceeded 10485760 bytes"}

The actual error in the log is

[logstash.outputs.elasticsearch] Encountered a retryable error. Will Retry with exponential backof

The ElasticSearch is an AWS Elasticsearch service. AWS is apparently restricting the setting of http.max_content_length 10MB for smaller instance types according to this table:
https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/aes-limits.html#network-limits

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions