JMX CompositeDataSupport and Map values

Hi,

Using the logstash jmx plugin, I'm retrieving a CompositeDataSupport Object which is then pushed to Elasticsearch. The problem is that the value pushed is not an array converted as a String but more something which looks like the address of the object in memory.

I was wondering how will it be possible to map this as an ArrayType in ElasticSearch.

Details:
This is the value of the metric_value_string field which ends up in the repository

Java::JavaxManagementOpenmbean::CompositeDataSupport:0x3d17bc85, <Java::JavaUtil::Collections::UnmodifiableRandomAccessList:1869951550 ["Compressed Class Space"]>=>#Java::JavaxManagementOpenmbean::CompositeDataSupport:0x7da3c749, <Java::JavaUtil::Collections::UnmodifiableRandomAccessList:953021984 ["Metaspace"]>=>#Java::JavaxManagementOpenmbean::CompositeDataSupport:0xf1f5ccf, <Java::JavaUtil::Collections::UnmodifiableRandomAccessList:780515424 ["G1 Old Gen"]>=>#Java::JavaxManagementOpenmbean::CompositeDataSupport:0x31a989f5, <Java::JavaUtil::Collections::UnmodifiableRandomAccessList:-258349661 ["G1 Eden Space"]>=>#Java::JavaxManagementOpenmbean::CompositeDataSupport:0x14f91950, <Java::JavaUtil::Collections::UnmodifiableRandomAccessList:-433555538 ["Code Cache"]>=>#Java::JavaxManagementOpenmbean::CompositeDataSupport:0x630358a5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.