I'm trying to collect metrics from Dorpwizard metrics.
Those are exposed by the REST API as Json.
I tryed dropwizard module for metrics but it seams not to fetch any datas.
Then switched to http module for metrics but not event is indexed due to mapping error
2017-09-07T11:33:09+02:00 WARN Can not index event (status=400): {"type":"illegal_argument_exception","reason":"mapper [http.metrics_http_me.classes] of different type, current_type [long], merged_type [ObjectMapper]"}
The index was dropped and service restarted without any improvement.
Can someone help to fix this, please.
Metricbeat version is 6.0.0-beta2 installed using rpm package on centos 6 VM.
config files are
/etc/metricbeat/metricbeat.yml
I think that your endpoint is returning different values for classes field, and switching between a number (long) and a map (object). That is probably causing issues with automatic mapping, does this make sense?
On the other hand, did you try to debug your dropwizard issue?
Is there a way to filter those in metrics settings?
I might be able to remove them from the spring-boot endpoint but it means to modify applications (I'd rather change one settings instead of redeploying all apps)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.