Setup and data retention issues

Prev Next

Overview

This article covers problems you can run into when you set up a Business Activity Monitoring (BAM) environment and when your retention settings remove tracked data. It covers failed deployments, connection string validation errors, missing older instances, and slow queries on high-volume transactions.

Business value

Setup failures delay tracking, and retention problems can cost you data you still need. Knowing the cause of each problem lets you fix it yourself and avoid losing data that cannot be recovered.

How it works

During setup, you choose Use Turbo360 infrastructure or Use your Azure subscription. With the first option, you provide SQL Database and Storage Account connection strings, and Turbo360 validates them. With the second option, a service principal deploys the BAM resources into your resource group.

After deployment, each Custom Logging (Push Model) transaction has its own purging policy. BAM permanently deletes tracked instances that are older than the retention period you set. Data Queries (Pull Model) transactions have no purging policy because their data stays in your data source.

For the setup steps, see Environment setup.

Troubleshooting

  1. The deployment fails when you use your own Azure subscription
    Cause: The service principal does not have Contributor access on the target resource group, your subscription does not have enough quota for the service tiers you selected, or a resource name conflicts with an existing resource.
    Fix: Open the Azure activity log for the resource group to find the resource that failed. Confirm that the service principal has the Contributor role on the resource group and that your quota covers the selected tiers. Resolve any naming conflict, then select Initiate deployment again.

  2. Connection string validation fails when you use Turbo360 infrastructure
    Cause: The SQL Database or Storage Account connection string is malformed, the resource does not exist, the credentials have less than read and write access, or a firewall rule on the SQL server blocks access from Turbo360.
    Fix: Copy both connection strings again from the Azure portal. Confirm that both resources exist and that the credentials have at least read and write access. Check the SQL server firewall rules and allow access from Turbo360, then select Validate again.

  3. Older tracked instances are missing from the tracking view
    Cause: The purging policy on the transaction is shorter than the period you need. BAM permanently deletes tracked instances that are older than the Purge data older than value, and it cannot recover them.
    Fix: Open the transaction under Business Activity Monitoring > Business Processes and increase Purge data older than so it covers the period you need. The maximum is 180 days on SaaS and 730 days on private hosting. Instances that were already purged cannot be restored.

  4. Queries are slow or storage keeps growing on a high-volume transaction
    Cause: The transaction still uses the default retention of 180 days, so tracked data builds up faster than it is purged. The purging policy applies to tracked instance data, so archived message payloads in your storage account stay until you remove them.
    Fix: Lower Purge data older than for that transaction. The daily background job then removes data older than the new value. To remove outdated archived payloads, add an Azure Lifecycle Management rule on the storage account. The account must be StorageV2 (General Purpose v2), and the blob prefix must be sl360<customerid>.

Related articles