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

**URL:** <https://discuss.elastic.co/t/i-have-around-20-different-types-of-custom-generated-logs-and-want-to-parse-them-each-based-on-start-and-end-point-as/138188>\
**Category:** Logstash\
**Created:** [July 2, 2018, 11:27am UTC](https://discuss.elastic.co/t/i-have-around-20-different-types-of-custom-generated-logs-and-want-to-parse-them-each-based-on-start-and-end-point-as/138188 "2018-07-02T11:27:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinash\_Kumar](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@Avinash\_Kumar](https://discuss.elastic.co/u/Avinash_Kumar)\
**Post date:** [July 2, 2018, 11:27am UTC](https://discuss.elastic.co/t/i-have-around-20-different-types-of-custom-generated-logs-and-want-to-parse-them-each-based-on-start-and-end-point-as/138188/1 "2018-07-02T11:27:48Z")

</div>

## =-=-=-=-=-=-=-=- 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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 30, 2018, 11:28am UTC](https://discuss.elastic.co/t/i-have-around-20-different-types-of-custom-generated-logs-and-want-to-parse-them-each-based-on-start-and-end-point-as/138188/2 "2018-07-30T11:28:04Z")

</div>

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