Hi,
I’m using perl on windows v5.10.1 and would like to extract out of a log file extract below to produce output as below, does anyone know how to extract the items highlighted in red? The format of the log file is pretty much consistent throughout:
Log extract
CCurClgA=901922494724 MetaCode(true)=META_UNKNOWN'
11/07/12 15:49:05.448 Trc 04541 RequestReleaseCall received from [8220] (0001238c 123103 172.46.713.123:1966)
message RequestReleaseCall
AttributeReferenceID 219
AttributeConnID 00c10218203ee739
AttributeThisDN '82123345'
11/07/12 15:49:05.448 Int 04543 Interaction message "RequestReleaseCall" received from 8220 ("123103")
@15:49:05.4480 [gctmi] Distributing request RequestReleaseCall
@15:49:05.4480 [tout] Party [00c10218208ee739:89123103,sc,tDN,rDST,lINT] (reqReleaseCall)
Output I’d like to pull from log file
Date Time Event IP ConnID DN
11/07/12 15:49:05.448 RequestReleaseCall 172.46.713.123 00c10218203ee739 82123345
Any help would be appreciated greatly
Thanks
I’m using perl on windows v5.10.1 and would like to extract out of a log file extract below to produce output as below, does anyone know how to extract the items highlighted in red? The format of the log file is pretty much consistent throughout:
Log extract
CCurClgA=901922494724 MetaCode(true)=META_UNKNOWN'
11/07/12 15:49:05.448 Trc 04541 RequestReleaseCall received from [8220] (0001238c 123103 172.46.713.123:1966)
message RequestReleaseCall
AttributeReferenceID 219
AttributeConnID 00c10218203ee739
AttributeThisDN '82123345'
11/07/12 15:49:05.448 Int 04543 Interaction message "RequestReleaseCall" received from 8220 ("123103")
@15:49:05.4480 [gctmi] Distributing request RequestReleaseCall
@15:49:05.4480 [tout] Party [00c10218208ee739:89123103,sc,tDN,rDST,lINT] (reqReleaseCall)
Output I’d like to pull from log file
Date Time Event IP ConnID DN
11/07/12 15:49:05.448 RequestReleaseCall 172.46.713.123 00c10218203ee739 82123345
Any help would be appreciated greatly
Thanks