Need to monitor pending messages in JMS queue for tibco

Hi,

I want to monitor pending messages in a jms queue for tibco. I tried to use jms logstash plugin, however it doesn't give me the parameter "pending queue messages".

This is my logstash configuration:

jmsconfig.conf:

input {
    jms {
                include_header => true
                include_properties => true
                include_body => true
                use_jms_timestamp => false
                interval => 10
                destination => "logstash.queue"
                yaml_file => "/usr/share/logstash/config/jms/jms.yml"
                yaml_section => "ems"
                factory_settings => {
                                     exclusive_consumer => false
                }
    }
}
output {
elasticsearch {
                ilm_enabled => false
                manage_template => false
                hosts => '${ELASTIC_URL}'
                user => "${ELASTIC_USERNAME}"
                password => "${ELASTIC_PASSWORD}"
                index => "tibcoems-%{+yyyy.MM.dd}"
                }
}

jms.yml:

ems:
  :factory: com.tibco.tibjms.TibjmsConnectionFactory
  :serverUrl: tcp://XXXXX:7222
  :username: *********
  :password: ***********
  :require_jars:
    - /home/ec2-user/ELK/shared/jms-2.0.jar
    - /home/ec2-user/ELK/shared/tibjms.jar

Hi @magnusbaeck @spinscale

Could you please check this issue.

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