I have around 20 different types of custom generated logs. and want to parse them each based on start and end point as "=-=-=-=-=-"

=-=-=-=-=-=-=-=-
Timestamp: Thursday, June 07, 2018 6:38:07 AM
Message: HandlingInstanceID: c7ef73de-3169-4220-8bcc-2a235537b5d2
An exception of type 'System.Net.Sockets.SocketException' occurred and was caught.

06/07/2018 06:38:07
Type : System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : No connection could be made because the target machine actively refused it 172.31.45.59:5100
Source : System
Help link :
ErrorCode : 10061
SocketErrorCode : ConnectionRefused
NativeErrorCode : 10061
Data : System.Collections.ListDictionaryInternal
TargetSite : Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
HResult : -2147467259
Stack Trace : at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at Prana.SocketCommunication.SocketConnection.Connect(ConnectionProperties connProperties) in c:\Nirvana\Continuous Integration\Prana Releases\PranaV1.14\Prana.SocketCommunication\SocketConnection.cs:line 497

Additional Info:

MachineName : SERVERDAL2-28
TimeStamp : 6/7/2018 10:38:07 AM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
AppDomainName : Prana.exe
ThreadIdentity :
WindowsIdentity : SERVERDAL2-28\Administrator

Category: ErrorLogging
Priority: 0
EventId: 100
Severity: Error
Title:Enterprise Library Exception Handling
Machine: SERVERDAL2-28
Application Domain: Prana.exe
Process Id: 19756
Process Name: C:\Nirvana\Deployed Releases\BlueClayCapitalV1.10\Client Release\Prana.exe
Win32 Thread Id: 17948
Thread Name:
Extended Properties:
=-=-=-=-=-=-=-=-

above is my log pattern and more custom patterns are there look quiet similar but contain some more fields , bottom line is that i need a solution to parse this using logstash filter making key-value pair. can anyone help in this, thanks in advance

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