Hi,
I have a requirement where in the a XML message is picked up from TIBCO EMS with the help of logstash and then is viewed in Kibana. I want to parse this message element individually for example conversationid,eventid etc. to be viewed in kibana. can anyone help regarding this.
Want to parse the XML received from TIBCO EMS mentioned below.
<tns:ActivityInput xmlns:tns="http://www.tibco.com/namespaces/tnt/plugins/jms+32553768-9d2e-4ed0-90ae-0a1e20803547+input" xmlns:tns2="http://www.ericsson.com/tibco/schema/Logger">
<Body>
<tns2:Logger_Request>
<tns2:conversationId>TIB-22b0be25-9e87-49ba-a3c0-1b617c82212a</tns2:conversationId>
<tns2:correlationId>4618bdb4-36fb-4a37-b161-7fb07aeaedd6</tns2:correlationId>
<tns2:eventId>CUST0000000023</tns2:eventId>
<tns2:logTimestamp>2021-02-17T17:49:39.828+05:30</tns2:logTimestamp>
<tns2:type>START</tns2:type>
<tns2:businessReferenceId>228526</tns2:businessReferenceId>
<tns2:systemConsumer>DFE</tns2:systemConsumer>
<tns2:systemDestination>EB</tns2:systemDestination>
<tns2:serviceName>SubmitPayment</tns2:serviceName>
<tns2:operationName>POST</tns2:operationName>
<tns2:payload><?xml version="1.0" encoding="UTF-8"?><CustomerPayment xmlns="http://xmlns.ericsson.com/CDM/Payment" xmlns:ns1="http://xmlns.ericsson.com/CDM/Base"><ns1:customerId>CUST0000000023</ns1:customerId><ns1:billingAccountId>BA0000000044</ns1:billingAccountId><transactionType>DEPOSIT12</transactionType><transactionRefNum>228526</transactionRefNum><Amount><ns1:amount>1.0E16</ns1:amount><ns1:units><ns1:currencyCode>IDR</ns1:currencyCode></ns1:units></Amount><referenceDate>2020-12-21</referenceDate><entryDate>2021-02-11</entryDate></CustomerPayment></tns2:payload>
<tns2:Log-Level>INFO</tns2:Log-Level>
<tns2:appSpace>BWEclipseAppSpace</tns2:appSpace>
<tns2:appNode>BWEclipseAppNode</tns2:appNode>
<tns2:engine>Main</tns2:engine>
<tns2:appModule>GW.SubmitPayment</tns2:appModule>
</tns2:Logger_Request>
</Body>
</tns:ActivityInput>