Missing url parameter in logstash-input-jmx-0.1.5


(Erard22) #1

Hello,

I just installed the jmx plugin (logstash-input-jmx-0.1.5) but am a bit confused. When I check the source on github this version should contain the url parameter to be able to connect the plugin to my jboss. But the jmx.rb seems to be an older version without the new parameter.

Logstash version: 1.5.0
jmx config:

{
  "host" : "localhost",
  "port" : 10990,
  "url"  : "service:jmx:remoting-jmx://localhost:10990",
  "username" : "logstash",
  "password": "l0gstash.",
  "alias" : "jmx",
  "queries" : [
  {
    "object_name" : "java.lang:type=Memory",
    "object_alias" : "Memory"
  }, {
    "object_name" : "java.lang:type=Runtime",
    "attributes" : [ "Uptime", "StartTime" ],
    "object_alias" : "Runtime"
  }, {
    "object_name" : "java.lang:type=GarbageCollector,name=*",
    "attributes" : [ "CollectionCount", "CollectionTime" ],
    "object_alias" : "${type}.${name}"
  }, {
    "object_name" : "java.nio:type=BufferPool,name=*",
    "object_alias" : "${type}.${name}"
  } ]
}

Thanks,

Mike


(system) #2