Using LogParser 2.2 to Parse IIS Logs and Other Logs
page 11 of 13
by Sudeep G
Feedback
Average Rating: 
Views (Total / Last 10 Days): 93472/ 241

Scenario 9: Using LogParser with Netmon Traces

View network traffic from a netmon trace with the following.

Listing 34

LogParser -i:NETMON "SELECT Frame, SrcIP, SrcPort, DstIP, DstPort, TCPFlags, Seq, 
Ack, WindowSize, PayloadBytes FROM Netmon.cap" -o:DataGrid

Filter network traffic between 2 systems from a netmon trace:

Listing 35

LogParser -i:NETMON "SELECT Frame, SrcIP, SrcPort, DstIP, DstPort, TCPFlags, Seq, 
Ack, WindwSize, PayloadBytes FROM Netmon.cap WHERE (SrcIP='192.168.10.1' AND 
DstIP='192.168.10.8') OR (SrcIP='192.168.10.8' AND DstIP='192.168.10.1')" 
-o:DataGrid

View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2020 ASPAlliance.com  |  Page Processed at 2020-03-29 8:29:33 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search