I have setup JMX monitoring for one of our Java applications, using Logstash JMX plugin. Everything works as expected but one thing am hoping for is the way key value pair is being created. Right now after gets pushed to Elasticsearch, this is how the key value pair looks
What am hoping to have it stored like is below
This way, I would like to remove metric_path and metric_value_number fields and make the real key, value pair show as is.
Can you please suggest if there is a way I can do that?