Continuing the discussion from Configuring multiple paths in http module:
In the old discussion I explained my usecase, which is gathering metrics from IBM Liberty.
Yesterday I downloaded a 6.3 Snapshot to test the new json.is_array behavior. While this did work in a way, it did not work fully as expected.
My input as captured from https://localhost:9443/IBMJMXConnectorREST/mbeans/WebSphere%3Aname%3DLargeThreadPool%2Ctype%3DThreadPoolStats/attributes is this:
[
{
name: "PoolSize",
value: {
value: "1563",
type: "java.lang.Integer"
}
},
{
name: "PoolName",
value: {
value: "LargeThreadPool",
type: "java.lang.String"
}
},
{
name: "ActiveThreads",
value: {
value: "1",
type: "java.lang.Integer"
}
}
]
I expected these three data points to be contained in one event sent to my elasticsearch cluster. Unfortunately, I actually receive three events, containing the payload like this:
"http": {
"ThreadPoolStats": {
"value": {
"value": "LargeThreadPool",
"type": "java.lang.String"
},
"name": "PoolName"
}
}
In another event's _source:
"http": {
"ThreadPoolStats": {
"name": "PoolSize",
"value": {
"value": "2500",
"type": "java.lang.Integer"
}
}
}
Is there a way to have them contained in an array or object within one single event?