You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can we deal with the random datatype mismatch?
In AKS there are some managed applications by MS that create values in different datatype, those logs will be lost because Opensearch will reject them.
Frequent error: error event: error_class=Fluent::Plugin::OpenSearchErrorHandler::OpenSearchError error="400 - Rejected by OpenSearch [error type]: mapper_parsing_exception [reason]: 'failed to parse field [ts] of type [date] in document with id 'mHYA44ABjc1sEmR6h9ze'. Preview of field's value: '1.6530758923877115E9''"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can we deal with the random datatype mismatch?
In AKS there are some managed applications by MS that create values in different datatype, those logs will be lost because Opensearch will reject them.
App1:
{ "ts": "1.6530758923877115E9" }
App2:
{ "ts": "2022-05-20T20:38:47.298361917Z" }
Frequent error:
error event: error_class=Fluent::Plugin::OpenSearchErrorHandler::OpenSearchError error="400 - Rejected by OpenSearch [error type]: mapper_parsing_exception [reason]: 'failed to parse field [ts] of type [date] in document with id 'mHYA44ABjc1sEmR6h9ze'. Preview of field's value: '1.6530758923877115E9''"
How we can avoid losing logs by luck?
Beta Was this translation helpful? Give feedback.
All reactions