Multiline pattern for system logs


(Aditi Puri) #1

i am trying to capture the full error description in my system log file.using the below pattern "^<>%{SPACE}[%{MONTH} %{MONTHDAY}%{TIME}]". But i am not bale to capture the error description.
Please help in getting me the correct pattern,
My Log file looks like below:
<> [Jan 17 16:51:04] [[ACTIVE] ExecuteThread: '67' for queue: 'weblogic.kernel.Default (self-tuning)'] [RPL] <RPL1RechargeServicesBean.l9AddOffer> encountered an exception from which recovery-by-retry is NOT possible. This flow will NOT be retried. Last retry count = <0 out of 0>
<> [Jan 17 17:34:20] [Thread-74] [RPL] socket error:Connection reset
<> [Jan 17 17:34:20] [Thread-74] [RPL] Error occured so DiameterConnectionHandler is expiring the connection Connection Host: 10.75.30.6 Port: 20901 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@1ca63f3b Socket hashcode: 1936542461 Connection Obj ID: 819329938 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 setSocketCreationFailed = TRUE
<> [Jan 17 17:34:20] [Thread-74] [RPL] socket error:Connection reset
<> [Jan 17 17:34:20] [Thread-74] [RPL] Error occured so DiameterConnectionHandler is expiring the connection Connection Host: 10.75.30.6 Port: 20631 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@12c862d0 Socket hashcode: 1798098567 Connection Obj ID: 1456345569 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 setSocketCreationFailed = TRUE
<> [Jan 17 17:34:23] [Thread-73] [RPL] Ignoring the IOException inside BadQueueRecovery connection : Connection Host: 10.75.30.6 Port: 20901 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@1ca63f3b Socket hashcode: 1936542461 Connection Obj ID: 819329938 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 Error-message Connection refused
<> [Jan 17 17:34:23] [Thread-73] [RPL] Ignoring the IOException inside BadQueueRecovery connection : Connection Host: 10.75.30.6 Port: 20631 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@12c862d0 Socket hashcode: 1798098567 Connection Obj ID: 1456345569 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 Error-message Connection refused
<> [Jan 17 17:34:28] [Thread-73] [RPL] Ignoring the IOException inside BadQueueRecovery connection : Connection Host: 10.75.30.6 Port: 20901 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@1ca63f3b Socket hashcode: 1936542461 Connection Obj ID: 819329938 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 Error-message Connection refused
<> [Jan 17 17:34:28] [Thread-73] [RPL] Ignoring the IOException inside BadQueueRecovery connection : Connection Host: 10.75.30.6 Port: 20631 Socket Request Obj ID: amdocs.rpm.services.PPSRequest@12c862d0 Socket hashcode: 1798098567 Connection Obj ID: 1456345569 Status: [rpmsts=O] Site Name: DEFAULT ThrottlingTime: 0 OverloadedFRsRetryCount: -1 Error-message Connection refused
<> [Jan 17 19:37:43] [[ACTIVE] ExecuteThread: '53' for queue: 'weblogic.kernel.Default (self-tuning)'] [RPL] [ABPBatchUser]
amdocs.rpm.utils.exceptions.RPMResourceException: (RPL1-000115) The activity failed in Amdocs Balance Manager with the <10, API RECEIVE RESPONSE :Read timed out> error code.
at amdocs.rpm.utils.balance.TCPBalanceManagerServer.connErrorHandle(TCPBalanceManagerServer.java:312)
at amdocs.rpm.utils.balance.TCPBalanceManagerServer.invokeOlcActivity(TCPBalanceManagerServer.java:292)
at amdocs.rpm.utils.balance.RPLOlcImpl.invokeMessage(RPLOlcImpl.java:126)
at amdocs.rpm.flowcontrol.RPL9AddOfferFC.l9AddOffer(RPL9AddOfferFC.java:114)
at amdocs.rpm.local.implementation.RPL9AddOfferProxy.l9AddOffer(RPL9AddOfferProxy.java:291)
at amdocs.rpm.sessions.implementation.RPL1RechargeServicesBean.l9AddOffer(RPL1RechargeServicesBean.java:4784)
at amdocs.rpm.sessions.implementation.RPL1RechargeServicesBean_uqrjz6_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(SessionRemoteMethodInvoker.java:54)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:21)
at amdocs.rpm.sessions.implementation.RPL1RechargeServicesBean_uqrjz6_EOImpl.l9AddOffer(Unknown Source)
at amdocs.rpm.sessions.implementation.RPL1RechargeServicesBean_uqrjz6_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:252)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:553)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:313)
at amdocs.rpm.sessions.implementation.RPL1RechargeServicesBean_uqrjz6_EOImpl_12212_WLStub.l9AddOffer(Unknown Source)
at amdocs.csm3g.flowcontrol.CM9SubscriberServicesAddOfferFC.rplAddOffer(CM9SubscriberServicesAddOfferFC.java:1100)
at amdocs.csm3g.flowcontrol.CM9SubscriberServicesAddOfferFC.l9AddOffer(CM9SubscriberServicesAddOfferFC.java:605)
at amdocs.csm3g.local.implementation.CM9SubscriberServicesAddOfferProxy.l9AddOffer(CM9SubscriberServicesAddOfferProxy.java:519)
at amdocs.csm3g.sessions.implementation.SubscriberServicesBean.l9AddOffer(SubscriberServicesBean.java:18499)
at amdocs.csm3g.sessions.implementation.SubscriberServicesBean_gl6i2n_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invokeInternal(SessionRemoteMethodInvoker.java:54)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:21)
at amdocs.csm3g.sessions.implementation.SubscriberServicesBean_gl6i2n_EOImpl.l9AddOffer(Unknown Source)
at amdocs.csm3g.sessions.implementation.SubscriberServicesBean_gl6i2n_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:645)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:246)
at weblogic.rmi.internal.BasicServerRef$2.run(BasicServerRef.java:534)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:531)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:138)
at


(Jymit Singh Khondhu) #2

Hi, could you format (markdown) your patterns and logs for ease of readability, please.

Can you share a full line of the system log you want to parse and share the full logstasah input, filter, output.


(Aditi Puri) #3

Please refer to discussion going on-

and


(system) #4

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