I have the following snippet, and I am trying to capture all of it as a multiline
<< JESI>> [ERROR] [TIME:29 Mar 2022 04:34:53][Tid:OUTBOUND_RECOVERY_01339]Exception @[NodeId=6;Element=Channel@amdocs/eai/adaptor/outbound/QueryAccountByCustID.xml]Error=Exception @[NodeId=6;Element=Channel@amdocs/eai/adaptor/outbound/QueryAccountByCustID.xml]Error=amdocs.ecommerce.esi.exceptions.CommunicationException: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN'
exceptionMessage='Invalid username, password, security token; or user locked out.'
]
]
amdocs.ecommerce.esi.exceptions.CommunicationException: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN'
exceptionMessage='Invalid username, password, security token; or user locked out.'
]
]
at amdocs.ecommerce.esi.proxy.SFDCProxy.connect(SFDCProxy.java:206)
at amdocs.ecommerce.esi.handlers.channels.SFDCProxyChannel.publish(SFDCProxyChannel.java:78)
at amdocs.ecommerce.esi.utils.flow.invoke.Channel.doExecute(Channel.java:305)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.ProcessFlow.execute(ProcessFlow.java:1004)
at amdocs.ecommerce.esi.utils.flow.ProcessFlowEngine.execute(ProcessFlowEngine.java:638)
at amdocs.ecommerce.esi.utils.flow.FLOW.doExecute(FLOW.java:339)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.TRY.doExecute(TRY.java:81)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.TRYCATCH.doExecute(TRYCATCH.java:218)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.ELSE.doExecute(ELSE.java:76)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.IF.doExecute(IF.java:147)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.ProcessFlow.execute(ProcessFlow.java:1004)
at amdocs.ecommerce.esi.utils.flow.ProcessFlowEngine.execute(ProcessFlowEngine.java:677)
at amdocs.ecommerce.esi.eai.api.flows.sub.GenericProcessFlowHandler.executeFlow(GenericProcessFlowHandler.java:51)
Thanks for the reply. I went ahead an implemented it, but it seems now that events are appended to each other as one document in Elasticsearch. Could I be doing something wrong? I am sending the events from filebeat to kafka, then I read kafka topic and write it to ES
<< JESI>> [INFO] [TIME:6 Apr 2022 17:55:19][Tid:ADAPTOR_POST_SUB_01_05323][ID=20220406175519_239735_dfwlnpkgjesi-01_40820_bfebb84e-29b8-4666-afc6-001acc567c7c;Flow=amdocs/eai/adaptor/outbound/OUTBOUND_UPSERT_CUST.xml]callPrimaryMCByRepIdService from Input : 1
<< JESI>> [INFO] [TIME:6 Apr 2022 17:55:19][Tid:ADAPTOR_POST_SUB_01_05323][ID=20220406175519_239735_dfwlnpkgjesi-01_40820_bfebb84e-29b8-4666-afc6-001acc567c7c;Flow=amdocs/eai/adaptor/outbound/OUTBOUND_UPSERT_CUST.xml]primaryMcID from Input : 195280
<< JESI>> [INFO] [TIME:6 Apr 2022 17:55:19][Tid:ADAPTOR_POST_SUB_01_05323][ID=20220406175519_239736_dfwlnpkgjesi-01_40820_4a1ee972-dbee-4a4e-bb6f-7289e7879431;Flow=amdocs/eai/adaptor/outbound/QueryUserByRepID.xml]Query = SELECT Id FROM User where Dex_kGen_Employee_ID__c = '195280' LIMIT 1
<< JESI>> [INFO] [TIME:6 Apr 2022 17:55:19][Tid:ADAPTOR_POST_SUB_01_05323][ID=20220406175519_239736_dfwlnpkgjesi-01_40820_4a1ee972-dbee-4a4e-bb6f-7289e7879431;Flow=amdocs/eai/adaptor/outbound/QueryUserByRepID.xml]Query = [SELECT Id FROM User where Dex_kGen_Employee_ID__c = '195280' LIMIT 1]
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at amdocs.ecommerce.esi.proxy.SFDCProxy.connect(SFDCProxy.java:198)
at amdocs.ecommerce.esi.handlers.channels.SFDCProxyChannel.publish(SFDCProxyChannel.java:78)
at amdocs.ecommerce.esi.utils.flow.invoke.Channel.doExecute(Channel.java:305)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.ProcessFlow.execute(ProcessFlow.java:1004)
at amdocs.ecommerce.esi.utils.flow.ProcessFlowEngine.execute(ProcessFlowEngine.java:638)
at amdocs.ecommerce.esi.utils.flow.FLOW.doExecute(FLOW.java:339)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.THEN.doExecute(THEN.java:79)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
at amdocs.ecommerce.esi.utils.flow.IF.doExecute(IF.java:141)
at amdocs.ecommerce.esi.utils.flow.BaseElement.execute(BaseElement.java:216)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.