logstash-plugins / logstash-input-jms

12 stars 27 forks source link

Logstash keystore does not support MQ access #42

Open jrselzer opened 4 years ago

jrselzer commented 4 years ago

Logstash keystore is working fine with several configuration files but fails in Yaml file for IBM MQ access.

vi:syntax=yaml

input { jms { yaml_file => "/appl/elk/logstash-6.8.1/config/jmsmq.yml" yaml_section => "wmq" include_header => true include_properties => true include_body => true use_jms_timestamp => true destination => "BRK.BUSINESSEVENTLOG" interval => 3 runner => async add_field => { "source" => "BRK.BUSINESSEVENTLOG" "queuemanager" => "DPQBRK" "index_prefix" => "retup_ps_b_bel" } } }

wmq: :factory: com.ibm.mq.jms.MQQueueConnectionFactory :queue_manager: DPQBRK :host_name: mq.localnetwork.com :channel: DPQBRK.WART.CN :port: 1419

Transport Type: com.ibm.mq.jms.JMSC::MQJMS_TP_CLIENT_MQ_TCPIP

:transport_type: 1
:username: wart
:password: ${wart}
:require_jars:
    - "/appl/elk/logstash-6.8.1/lib/jms/jms-8.0.0.11.jar"
    - "/appl/elk/logstash-6.8.1/lib/jms/com.ibm.mq-8.0.0.11.jar"
    - "/appl/elk/logstash-6.8.1/lib/jms/com.ibm.mqjms-8.0.0.11.jar"
    - "/appl/elk/logstash-6.8.1/lib/jms/com.ibm.mq.allclient-8.0.0.11.jar"