Reading multiline exceptions - filebeat

I am trying to read IBM websphere logs but as shown in the picture, it is hard to read the logs. since it is hard to find a pattern. Can someone please suggest a method?

Also as you can see there are multiple timestamp in the same exception.

Appreciate your help.

bump

Hello! Could you paste some example of a couple of full logs? (In text instead of a screenshot) Are these the logs as they are logged by websphere?

Hello marc! thank you for replying. Here are the log lines. Yes these are the logs logged websphere.

************ Start Display Current Environment ************
Log file started at: [5/7/21 12:24:02:622 IST]
************* End Display Current Environment *************
[5/22/21 15:03:40:723 IST] 0000006a SystemErr     R com.ibm.websphere.management.exception.AdminException: java.lang.NullPointerException
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1168)
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.batch.endpointsensor.BatchSensorComponent.destroy(BatchSensorComponent.java:100)
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ContainerHelper.destroyComponent(ContainerHelper.java:341)
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ContainerHelper.destroyComponents(ContainerHelper.java:325)
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ContainerImpl.destroyComponents(ContainerImpl.java:607)
[5/22/21 15:03:40:724 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ContainerImpl.destroy(ContainerImpl.java:598)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ServerImpl.destroy(ServerImpl.java:501)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook$1.run(ServerCollaborator.java:923)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5536)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5662)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ServerCollaborator$ShutdownHook.run(ServerCollaborator.java:912)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.runtime.component.ServerCollaborator$StopAction.alarm(ServerCollaborator.java:863)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ejs.util.am._Alarm.runImpl(_Alarm.java:151)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:136)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
[5/22/21 15:03:40:725 IST] 0000006a SystemErr     R Caused by: java.lang.NullPointerException
[5/22/21 15:03:40:726 IST] 0000006a SystemErr     R 	at com.ibm.ws.management.MBeanFactoryImpl.deactivateMBean(MBeanFactoryImpl.java:1141)
[5/22/21 15:03:40:726 IST] 0000006a SystemErr     R 	... 14 more
[5/23/21 9:01:30:597 IST] 000000c9 SystemErr     R Exception in thread "pool-6-thread-1" java.lang.NullPointerException
[5/23/21 9:01:30:600 IST] 000000c9 SystemErr     R 	at com.ibm.ws.sib.processor.impl.BaseDestinationHandler.registerControlAdapters(BaseDestinationHandler.java:5149)
[5/23/21 9:01:30:600 IST] 000000c9 SystemErr     R 	at com.ibm.ws.sib.processor.impl.DestinationManager$3.run(DestinationManager.java:1066)
[5/23/21 9:01:30:600 IST] 000000c9 SystemErr     R 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
[5/23/21 9:01:30:600 IST] 000000c9 SystemErr     R 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[5/23/21 9:01:30:600 IST] 000000c9 SystemErr     R 	at java.lang.Thread.run(Thread.java:785)
[5/23/21 10:37:58:249 IST] 0000008f SystemErr     R java.lang.Throwable
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at java.lang.Thread.dumpStack(Thread.java:462)
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at com.ibm.ws.hamanager.runtime.RuntimeProviderImpl.panicJVM(RuntimeProviderImpl.java:91)
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at com.ibm.ws.hamanager.coordinator.impl.JVMControllerImpl.panicJVM(JVMControllerImpl.java:56)
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at com.ibm.ws.hamanager.impl.HAGroupImpl.doIsAlive(HAGroupImpl.java:882)
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at com.ibm.ws.hamanager.impl.HAGroupImpl$HAGroupUserCallback.doCallback(HAGroupImpl.java:1388)
[5/23/21 10:37:58:250 IST] 0000008f SystemErr     R 	at com.ibm.ws.hamanager.impl.Worker.run(Worker.java:64)
[5/23/21 10:37:58:311 IST] 0000008f SystemErr     R 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
[5/23/21 15:45:10:736 IST] 000000b6 SystemErr     R Exception in thread "pool-7-thread-1" java.lang.NullPointerException
[5/23/21 15:45:10:737 IST] 000000b6 SystemErr     R 	at com.ibm.ws.sib.processor.impl.BaseDestinationHandler.registerControlAdapters(BaseDestinationHandler.java:5149)
[5/23/21 15:45:10:737 IST] 000000b6 SystemErr     R 	at com.ibm.ws.sib.processor.impl.DestinationManager$3.run(DestinationManager.java:1066)
[5/23/21 15:45:10:737 IST] 000000b6 SystemErr     R 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153)
[5/23/21 15:45:10:737 IST] 000000b6 SystemErr     R 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[5/23/21 15:45:10:737 IST] 000000b6 SystemErr     R 	at java.lang.Thread.run(Thread.java:785)
[5/30/21 8:06:17:168 CEST] 00000097 SystemErr     R java.io.FileNotFoundException: File /jna/aix-gcc4/libelscjw.so was not found inside JAR.
[5/30/21 8:06:17:169 CEST] 00000097 SystemErr     R 	at com.em.utils.NativeUtils.loadLibraryFromJar(NativeUtils.java:64)
[5/30/21 8:06:17:169 CEST] 00000097 SystemErr     R 	at com.em.utils.LicenseInfos.<clinit>(LicenseInfos.java:121)
[5/30/21 8:06:17:169 CEST] 00000097 SystemErr     R 	at com.em.utils.LicenseSession.getInfos(Native Method)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.em.utils.LicenseSession.getLicenseInfos(LicenseSession.java:490)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.misys.tiplus2.license.EMServerSession.requestSiteLicense(EMServerSession.java:109)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.misys.tiplus2.platform.global.common.FBTIGlobalApplicationListener.initialiseLicense(FBTIGlobalApplicationListener.java:269)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.misys.tiplus2.platform.global.common.FBTIGlobalApplicationListener.contextInitialized(FBTIGlobalApplicationListener.java:207)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1837)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:443)
[5/30/21 8:06:17:170 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:904)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1249)
[5/30/21 8:06:17:171 CEST] 00000097 SystemErr     R 	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1591)
[5/30/21 8:06:17:172 CEST] 00000097 SystemErr     R 	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:708)
[5/30/21 8:06:17:172 CEST] 00000097 SystemErr     R 	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1162).

@marc.guasch

bump

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