Page 1 of 1

LOG file parser fields

Posted: Mon Mar 13, 2017 11:53 am
by ilganas
Hello everybody, my name Antony.
I need some expert answer ((
Please help, me
QUESTION: How i can retrieve VPN usage information (i need bytes, traffic usage) from LOG file
For example
=================================================================
2017-03-13,13:50:04.095,SID-LOCALBRIDGE-1,SID-AILGANAEV-[L2TP]-5,00ACB8C3F2F7,CADFF6F5BB22,0x0800,66,TCP_CONNECTv4,SYN+ACK,149.154.167.51,http(80),10.8.0.10,5896,4162778598,401946919,WindowSize=29200,CADFF6F5BB2200ACB8C3F2F7080045000034000040003806FBE4959AA7330A08000A00501708F81EF5E617F53927801272105FEC0000020405640101040201030302,-,10.0.129.232
2017-03-13,13:50:04.106,SID-AILGANAEV-[L2TP]-5,SID-LOCALBRIDGE-1,CADFF6F5BB22,00ACB8C3F2F7,0x0800,280,TCP_DATAv4,PSH+ACK,10.8.0.10,5896,149.154.167.51,http(80),401946919,4162778599,WindowSize=256 HttpMethod=POST HttpUrl=http://149.154.167.51:80/api HttpProtocol=HTTP/1.1 HttpUserAgent=Mozilla/5.0,00ACB8C3F2F7CADFF6F5BB2208004500010A737E400080063F900A08000A959AA7331708005017F53927F81EF5E750180100EC830000504F5354202F61706920485454502F312E310D0A436F6E74656E742D547970653A206170706C69636174696F6E2F782D7777772D666F726D2D75726C656E636F6465640D0A436F6E74656E742D4C656E6774683A2034300D0A436F6E6E656374696F6E3A204B6565702D416C6976650D0A4163636570742D456E636F64696E673A20677A69702C206465666C6174650D0A4163636570742D4C616E67756167653A2072752D52552C656E2C2A0D0A557365722D4167656E743A204D6F7A696C6C612F352E300D0A486F73743A203134392E3135342E3136372E35313A38300D0A0D0A,10.0.129.232,-
============================================
I think in this lines consist traffic info, but witch of field (((????
Thanks

Re: LOG file parser fields

Posted: Fri Mar 17, 2017 10:00 pm
by moatazelmasry
For this task you don't need to parse the log file. you can just retrieve the individual sessions info.

You can do that from the UI, or through the vpncmd