You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I installed last version of fluentd on windows server. I need to parse log from windows program Elma. This program create several folders with log files, for example "error" folder. In that folder, every day created file with date error-log-20231120. I need to parse that logs and sent it to Elastic. Can i use multiline or another features fluentd to parse and filter logs from ERROR to ERROR words ?
Example of log :
Start logging at: 2023-11-20 00:00:00,220
ELMA v. 4.1.39.11536 R.47908fd43cb3d4 Корпоративная (PostgreSQL)
Server software: Internet Information Services v.10.0.14393.0 (64-bit)
DataBase software: PostgreSQL 14.8 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-18), 64-bit
OS: Майкрософт Windows Server 2016 Standard (64-разрядная, 10.0.14393)
.NET Framework: 4.8.03761
CPU: Intel(R) Xeon(R) Gold 6248R CPU @ 3.00GHz
Memory: 11,814/23,998 Gb
HDD: C: (NTFS, 15,010/119Gb), E: (NTFS, 47,694/99Gb)
Application directory: E:\ELMA4-Enterprise\Web
Configuration directory: \\server\elmaconfigs\ELMA4Config
KI: True
ERROR 2023-11-19 23:59:53,142 [59] EleWise.ELMA.Logging.Logger - Workflow unhandled exception. Activity: ROOT
System.ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: activity
в System.Activities.NativeActivityContext.ScheduleActivity[TResult](Activity`1 activity, CompletionCallback`1 onCompleted, FaultCallback onFaulted)
в EleWise.ELMA.Workflow.Diagrams.Activities.WorkflowRootActivity.ScheduleActivity(NativeActivityContext context, WorkflowActivity activity)
в EleWise.ELMA.Workflow.Diagrams.Activities.WorkflowRootActivity.OnBookmarkResumed(NativeActivityContext context, Bookmark bookmark, Object state)
в System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
ERROR 2023-11-19 23:59:53,142 [59] EleWise.ELMA.Logging.Logger - Background task error. Task info: Внутренняя обработка элемента очереди процесса (#71552443)
System.InvalidOperationException: Не удалось возобновить или запустить экземпляр процесса ---> System.ArgumentNullException: Значение не может быть неопределенным.
Имя параметра: activity
в System.Activities.NativeActivityContext.ScheduleActivity[TResult](Activity`1 activity, CompletionCallback`1 onCompleted, FaultCallback onFaulted)
в EleWise.ELMA.Workflow.Diagrams.Activities.WorkflowRootActivity.ScheduleActivity(NativeActivityContext context, WorkflowActivity activity)
в EleWise.ELMA.Workflow.Diagrams.Activities.WorkflowRootActivity.OnBookmarkResumed(NativeActivityContext context, Bookmark bookmark, Object state)
в System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
--- Конец трассировки внутреннего стека исключений ---
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.CheckTerminationException()
в EleWise.ELMA.Threading.QueueSynchronizationContext.ExecuteQueue()
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.<>c__DisplayClass36_0.<ResumeBookmark>b__0()
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ExecuteQueue()
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.EnqueueAction(Action action)
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ResumeBookmark(String bookmarkName, Object value)
в EleWise.ELMA.Workflow.Services.WorkflowExecutingContext.ResumeBookmark(Guid bookmarkUid, Object value)
в EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.ExecuteQueueItemInternal(IWorkflowQueueItem queueItem)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Diagnostics.DiagnosticsManager.StartCall[TCallInfo](Func`1 callInfoCreator, Action action)
в EleWise.ELMA.Runtime.NH.DiagnosticsInterceptor.Intercept(IInvocation invocation)
в EleWise.ELMA.Runtime.AOP.AbstractAsyncInterceptor.Castle.DynamicProxy.IInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Runtime.NH.TransactionInterceptor.Intercept(IInvocation invocation)
в EleWise.ELMA.Runtime.AOP.AbstractAsyncInterceptor.Castle.DynamicProxy.IInterceptor.Intercept(IInvocation invocation)
в Castle.DynamicProxy.AbstractInvocation.Proceed()
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass63_3.<ProcessItemInternal>b__4()
в EleWise.ELMA.Security.SecurityService.RunByUser(IUser user, Action action)
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass63_1.<ProcessItemInternal>b__1()
в EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.<>c__DisplayClass50_0.<Execute>b__3()
в EleWise.ELMA.Security.SecurityService.RunWithElevatedPrivilegies(Action action)
в EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.<>c__DisplayClass50_0.<Execute>b__0()
в EleWise.ELMA.Security.SecurityService.RunByUser(IUser user, Action action)
в EleWise.ELMA.Workflow.Services.WorkflowRuntimeService.Execute(IWorkflowInstance instance, Action action)
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass63_0.<ProcessItemInternal>b__0()
в EleWise.ELMA.Threading.BackgroundTask`1.ExecuteUserDelegate()
в EleWise.ELMA.Threading.BackgroundTask.Execute()
ERROR 2023-11-19 23:59:53,158 [74] EleWise.ELMA.Logging.Logger - Background task error. Task info: Обработка элемента очереди процесса #71552443
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в EleWise.ELMA.Workflow.Diagrams.Activities.Helpers.ActivityExceptionFlowHelper.GetExceptionFlow(IWorkflowQueueItem queueItem, EventTrigger trigger)
в EleWise.ELMA.Workflow.Diagrams.Activities.Helpers.ActivityExceptionFlowHelper.GetErrorExceptionFlow(IWorkflowQueueItem queueItem, Exception exception)
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.ProcessItemInternal(IWorkflowQueueItem originalQueueItem, Guid executionUid, Nullable`1 timeout, Exception& attemptException, Boolean& isSkipping, FlowConnectorElement& exceptionFlow, Boolean& asyncWasStarted)
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.ProcessItem(IWorkflowQueueItem item, Nullable`1 timeout, Boolean& retryProcessItemAfterCommit, Boolean& asyncWasStarted)
в EleWise.ELMA.Workflow.Services.WorkflowQueueService.<>c__DisplayClass60_0.<ProcessItemWithQueue>b__1()
в EleWise.ELMA.Threading.BackgroundTask.ExecuteUserDelegate()
в EleWise.ELMA.Threading.BackgroundTask.Execute()
ERROR 2023-11-20 00:00:02,073 [83] EleWise.ELMA.Logging.Logger - Script execute error
EleWise.ELMA.Exceptions.ScriptExecuteException: Ошибка исполнения сценария в процессе "Массовая загрузка и выгрузка графиков" (ID экземпляра: 1584071): Invalid end row index. ---> System.Reflection.TargetInvocationException: Адресат вызова создал исключение. ---> System.ArgumentException: Invalid end row index.
в � .�(Int32 �, Int32 �, Int32 �, Int32 �)
в Aspose.Cells.Cells.CreateRange(Int32 firstRow, Int32 firstColumn, Int32 totalRows, Int32 totalColumns)
в EleWise.ELMA.Model.Scripts.P_TND_MassLoading_Scripts.CreateUnionFile(P_TND_MassLoading context) в C:\Windows\TEMP\ELMA\871dda16a1974d738f3727d175221ee3\Script_1.cs:строка 1996
--- Конец трассировки внутреннего стека исключений ---
в System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
в System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
в System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
в EleWise.ELMA.Model.Scripts.Entities.EntityScriptingService.<>c__DisplayClass18_0.<InvokeWithDiagnostics>b__2()
в EleWise.ELMA.Model.Scripts.ScriptExecutionService.ScriptExecution(Action action, String errorTitle)
в EleWise.ELMA.Model.Scripts.Entities.EntityScriptingService.<>c__DisplayClass18_0.<InvokeWithDiagnostics>b__1()
в EleWise.ELMA.Diagnostics.DiagnosticsManager.StartCall[TCallInfo](Func`1 callInfoCreator, Action action)
в EleWise.ELMA.Model.Scripts.Entities.EntityScriptingService.InvokeWithDiagnostics(MethodInfo methodInfo, Object scriptInstance, Object[] invokedParams, String errorTitle)
в EleWise.ELMA.Workflow.Services.WorkflowScriptingService.ExecuteScript(Object errorTitle, Object scriptExecutionInfo, Object instance, Dictionary`2 parameters, Func`3 parameterAccessor)
--- Конец трассировки внутреннего стека исключений ---
в EleWise.ELMA.Workflow.Services.WorkflowScriptingService.ExecuteScript(Object errorTitle, Object scriptExecutionInfo, Object instance, Dictionary`2 parameters, Func`3 parameterAccessor)
в EleWise.ELMA.Workflow.Services.WorkflowScriptingService.ExecuteScript(IWorkflowInstance instance, String scriptName, Dictionary`2 parameters, Func`3 parameterAccessor)
ERROR 2023-11-20 00:00:02,073 [83] EleWise.ELMA.Logging.Logger - Workflow unhandled exception. Activity: Объединение файлов
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I installed last version of fluentd on windows server. I need to parse log from windows program Elma. This program create several folders with log files, for example "error" folder. In that folder, every day created file with date error-log-20231120. I need to parse that logs and sent it to Elastic. Can i use multiline or another features fluentd to parse and filter logs from ERROR to ERROR words ?
Example of log :
Beta Was this translation helpful? Give feedback.
All reactions