Hi,
I am a newbie, I am planning to use Logstash for collecting multiple segments logs listening over TCP. Example log format with 23 segments are below:
<181>Jun 29 14:41:37 server1 CM_Passed_Authentications 0000000001 23 0 2015-06-29 14:41:37.881 +05:30 0019694780 5200 NOTICE Passed-Authentication: Authentication succeeded, ConfigVersionId=143,
<181>Jun 29 14:41:37 server1 CM_Passed_Authentications 0000000001 23 1 Device IP Address=10.20.30.40, DestinationIPAddress=50.60.70.80, DestinationPort=1234, UserName=a1-b2-c3-n4,
<181>Jun 29 14:41:37 server1 CM_Passed_Authentications 0000000001 23 2 Protocol=http, RequestLatency=6, NetworkDeviceName=mobile, User-Name=xyz, NAS-IP-Address=1.2.3.4,
.
.
.
<181>Jun 29 14:41:37 server1 CM_Passed_Authentications 0000000001 23 22 ir=profile-name=xyz; },
I want to collect as single log entry by parsing and formatting text with time stamp, other header information and message body.
I checked couple of forums but couldn't find a solution which fits my requirement.
Can someone help me on the same?
Thanks,
Puneet Garg