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

APM server error "requires at least one of the fields 'value;values'" #3482

Closed
bck01215 opened this issue Jan 4, 2024 · 2 comments
Closed
Labels
agent-java community Issues and PRs created by the community triage

Comments

@bck01215
Copy link

bck01215 commented Jan 4, 2024

Log message

Dec 27 09:12:13 server_name apm-server[32711]: {"log.level":"error","@timestamp":"2023-12-27T09:12:13.677-0500","log.logger":"request","log.origin":{"file.name":"middleware/log_middleware.go","file.line":58},"message":"data validation error","service.name":"apm-server","url.original":"/intake/v2/events","http.request.method":"POST","user_agent.original":"apm-agent-java/1.38.0 (sat_email_manager)","source.address":"172.18.8.65","http.request.id":"d76fb865-ac01-48ce-9a27-f4bbbb441c40","event.duration":10014499490,"http.response.status_code":400,"error.message":"validation error: metricset: samples: requires at least one of the fields 'value;values', validation error: metricset: samples: requires at least one of the fields 'value;values', validation error: metricset: samples: requires at least one of the fields 'value;values', validation error: metricset: samples: requires at least one of the fields 'value;values', validation error: metricset: samples: requires at least one of the fields 'value;values'","ecs.version":"1.6.0"}

noticed in java agent versions 1.38-1.42 (We have not updated to newer versions of the java agent

@simitt simitt transferred this issue from elastic/apm-data Jan 4, 2024
@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage labels Jan 4, 2024
@jackshirazi
Copy link
Contributor

I believe that's fixed in 1.43.0 in #3290 and #3304, please try that version or higher

@bck01215
Copy link
Author

bck01215 commented Jan 4, 2024

Thank you

@bck01215 bck01215 closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-java community Issues and PRs created by the community triage
Projects
None yet
Development

No branches or pull requests

2 participants