How to stop collecting data

This section describes how to stop collection of all data coming from apps configured with the App Center SDK either by application or by device.

Stop collecting all SDK data for a specific app from the server

If you would like to stop using the Analytics, Diagnostics (Crashes and Errors) and Push services in App Center and stop processing all the SDK logs being sent, but you would still like to use other App Center services such as Build, Distribution, or Test, you can use the Analytics block logs API.

PUT https://appcenter.ms/v0.1/apps/{owner_name}/{app_name}/devices/block_logs/

Note

This will stop ingestion of all data coming from the App Center SDK, but will not delete existing data associated with the app.

Stop collecting all SDK data for a specific device from the server

To stop collection for a specific device, include the installation identifier in your call.

PUT https://appcenter.ms/v0.1/apps/{owner_name}/{app_name}/devices/block_logs/{install_id}

Stop collecting SDK data for a specific service from the client

The App Center SDK can be configured to stop collecting data per service. Instructions for doing so can be found under the "Other APIs" section for the SDK.

Note

This will not delete existing data associated with the app.