Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Collect logs for requests in Fiddler trace #27

Open
madhavpatel6 opened this issue Aug 15, 2018 · 0 comments
Open

Feature: Collect logs for requests in Fiddler trace #27

madhavpatel6 opened this issue Aug 15, 2018 · 0 comments
Labels

Comments

@madhavpatel6
Copy link
Contributor

Issue by bongiovimatthew-microsoft
Wednesday Feb 07, 2018 at 23:46 GMT
Originally opened as microsoft/adfsLogTools#9


Fiddler captures HTTP requests and saves a set of files that can be parsed. Details on Fiddler serialization

The EventLog script can do the following steps to get the logs associated with the requests in a Fiddler trace:

  1. Open "raw" folder in the Fiddler .saz file, find all <sessid#>_c.txt files
  2. Locate the client requests to ADFS (parse the requests for URLs containing "adfs/ls")
  3. Pull out the "client-request-id" query string parameter (might need to also look in _s.txt in the case where the server returns the ID, but the client never redirects with it)
  4. Send the correlation ID to Get-ADFSEvents to collect the events associated with the current request
  5. Repeat 1-4 for each independent correlation ID that gets discovered (as a Fiddler trace could contain multiple requests)

The current script should be altered to include a -FiddlerTrace parameter, which takes the filepath to the Fiddler trace.

An example execution would be:

Get-ADFSEvents -Logs Security, Admin, Debug -FiddlerTrace c:\fiddlerTrace.saz -Server *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants