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

Shipper output producing events that get rejected with illegal_argument_exception #34449

Closed
fearful-symmetry opened this issue Feb 2, 2023 · 2 comments
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled

Comments

@fearful-symmetry
Copy link
Contributor

File this under "issues I run into while hacking on elastic/elastic-agent-shipper#185"

metricbeat events sent to elasticsearch by the shipper are getting rejected with this error:

{"log.level":"debug","@timestamp":"2023-01-27T23:29:00.174Z","message":"Failed to add items: struct { Type string \"json:\\\"type\\\"\"; Reason string \"json:\\\"reason\\\"\"; Cause struct { Type string \"json:\\\"type\\\"\"; Reason string \"json:\\\"reason\\\"\" } \"json:\\\"caused_by\\\"\" }{Type:\"mapper_parsing_exception\", Reason:\"failed to parse\", Cause:struct { Type string \"json:\\\"type\\\"\"; Reason string \"json:\\\"reason\\\"\" }{Type:\"illegal_argument_exception\", Reason:\"Limit of mapping depth [20] has been exceeded due to object field [fields.data.system.Kind.StructValue.data.cpu.Kind.StructValue.data.idle.Kind.StructValue.data.norm.Kind.StructValue.data.pct.Kind]\"}}","component":{"binary":"shipper","dataset":"elastic_agent.shipper","id":"shipper-default","type":"shipper"},"service.name":"shipper","ecs.version":"1.6.0","log.logger":"elasticsearch-output","log.origin":{"file.line":108,"file.name":"elasticsearch/output.go"},"ecs.version":"1.6.0"}

I suspect this is an issue with the beats shipper out, as right now the shipper itself isn't doing much to actually modify events.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Feb 2, 2023
@botelastic
Copy link

botelastic bot commented Feb 2, 2023

This issue doesn't have a Team:<team> label.

@botelastic
Copy link

botelastic bot commented Feb 2, 2024

Hi!
We just realized that we haven't looked into this issue in a while. We're sorry!

We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1.
Thank you for your contribution!

@botelastic botelastic bot added the Stalled label Feb 2, 2024
@botelastic botelastic bot closed this as completed Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_team Indicates that the issue/PR needs a Team:* label Stalled
Projects
None yet
Development

No branches or pull requests

1 participant