DataHub includes an embedded version of Fiddler which will more easily allow for gathering of Fiddler traces for investigating issues. This is currently supported via the REST API or the CLI. This page provides information for managing your Fiddler trace sessions, files, and certificates through REST API.
FiddlerCore, by default, is not enabled in DataHub. DataHub must be configured to enable FiddlerCore. Click here for more information on how to configure DataHub to enable FiddlerCore.
Get the status of Fiddler
You can identify if Fiddler is actively capturing traffic by checking the status enabled using the following call.
GET
|
If Fiddler is enabled (actively capturing traffic), the call will return the following response.
expected results
|
If Fiddler is not disabled (not actively capturing traffic), the call will return the following response.
expected results
|
Enable a Fiddler Trace
Start a Fiddler trace using the following call.
POST /diagnostics/fiddler
|
Disable a Fiddler Trace
Stop a Fiddler trace using the following call.
POST /diagnostics/fiddler
|
Delete Fiddler Trace Files
Fiddler trace files are stored in the Syncplicity DataHub\v4\Logs\Trace directory. You can delete the files to keep the directory clean. Use the following call to delete all Fiddler traces.
DELETE
|
Uninstall Fiddler Root Certificates
Fiddler root certificates for DataHub are stored in the Syncplicity DataHub\v4\Data\Fiddler directory. Use the following call to uninstall root certificates.
DELETE
|
Install Fiddler Root Certificates
Fiddler root certificates for DataHub are stored in the Syncplicity DataHub\v4\Data\Fiddler directory. Use the following call to install root certificates.
POST
|
Select Yes when prompted to confirm you want to uninstall the certificate.