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): 89248/ 145

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-2024 ASPAlliance.com  |  Page Processed at 2024-04-23 6:46:12 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search