-
Bug
-
Resolution: Done
-
Major
-
None
-
jboss-fuse-6.3
When we assign insight-metrics.elasticsearch on a container with a Broker profile, we got the following WARN on the log:
2017-02-07 09:42:25,095 | WARN | icMetricsStorage | AbstractElasticsearchStorage | 224 - io.fabric8.insight.insight-elasticsearch-factory - 1.2.0.redhat-630224 | Error executing request: MapperParsingException[failed to parse]; nested: JsonParseException[Unexpected character (',' (code 44)): was expecting either valid name character (for unquoted name) or double-quote (for quoted) to start field namen | at [Source: [B@1fc61d7; line: 37, column: 23]];
By enabling debug logging to capture the json message that causes the error.
2017-02-07 09:41:25,249 | DEBUG | 2099][bulk][T#2] | bulk | 235 - org.apache.servicemix.bundles.elasticsearch - 1.3.2.1 | [Ravage 2099] [insight-2017.02.07][2] failed to execute bulk item (index) index {[insight-2017.02.07][sta-activemq][jmoCpON3SU6pcT7nHIqypQ], source[
{
"host": "amq",
"@timestamp": "2017-02-07T09:41:25.188+01" ,
"esbbroker": {
"TotalDequeueCount": "0",
"TotalMessageCount": "14",
"TempPercentUsage": "0",
"JobSchedulerStorePercentUsage": "0",
"MemoryPercentUsage": "0",
"TotalEnqueueCount": "66",
"TotalConsumerCount": "0",
"StorePercentUsage": "0",
"TotalProducerCount": "0",
"queues": {
"monetique_cro_dev002_queue": {
"QueueSize": "14" ,
"DispatchCount": "0" ,
"EnqueueCount": "13" ,
"MaxEnqueueTime": "0" ,
"ConsumerCount": "0" ,
"InFlightCount": "0" ,
"DequeueCount": "0" ,
"ProducerCount": "0" ,
"AverageEnqueueTime": "0.0" ,
"MinEnqueueTime": "0"
}
},
"topics": {
,
,
}
}
}
]}