Filter Fiddler traffic
FiddlerFiddler Problem Overview
Is it possible to instruct Fiddler to only show me traffic directed to a specific host name? In other words, can Fiddler traffic be filtered for Host?
Fiddler Solutions
Solution 1 - Fiddler
See this screenshot. Located at the top right part of the screen
Solution 2 - Fiddler
Fiddler's Filters tab can do this - set the 'Hosts' dropdown to 'Show only the following hosts' then put the name in the textbox below.
Solution 3 - Fiddler
Go to fiddler script tag and paste following into OnBeforeRequest
function. (Screenshot below)
if (oSession.url.Contains("ruby:8080") || oSession.url.Contains("localhost:1234"))
{
oSession["ui-hide"] = "yup"; // "The "yup" value is unimportant"
}
This way you can filter by any part of url be it port, hostname or whatever. It is useful for filtering out localhost trash as filtering by host alone does not do this...
EDIT as per @baburao comment: Apparently fiddler gives access to process info through the x-ProcessInfo
flag. So if you wanna hide a process (say for 'chrome'), change the condition to: if (oSession["x-ProcessInfo"].Contains("chrome"))
Hope this saves you some time.
Solution 4 - Fiddler
An alternative is to filter and export session.
You can filter by typing in the bottom black box area with prefix @ and your hostname. eg, @msn.com
Fiddler documentation has good sample. http://docs.telerik.com/fiddler/knowledgebase/QuickExec