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
All stack modules in Metricbeat use the Go encoding/json package to unmarshal the JSON responses they get from various stack products' APIs.
Unless json.(*Decoder)UseNumber() is set for the json decoder it will produce float64 values for numbers if parses. And because the large numbers are float64 values when that get written into an event they end up encoded as a float in scientific notation which fails to be parsed by Elasticsearch at indexing time.
The text was updated successfully, but these errors were encountered:
All stack modules in Metricbeat use the Go
encoding/json
package to unmarshal the JSON responses they get from various stack products' APIs.Unless
json.(*Decoder)UseNumber()
is set for the json decoder it will producefloat64
values for numbers if parses. And because the large numbers are float64 values when that get written into an event they end up encoded as a float in scientific notation which fails to be parsed by Elasticsearch at indexing time.The text was updated successfully, but these errors were encountered: