A.Rowan
A.Rowan

Reputation: 1749

Set Azure App Insights to collect all logs

App Insights randomly selects which logs to ignore. Is it possible to set it to keep all logs? I need them all.

Upvotes: 0

Views: 409

Answers (1)

Peter Bons
Peter Bons

Reputation: 29770

A short question deservers a short answer :-) You are most likely facing this due to sampling, see the docs.

Sampling is a feature in Azure Application Insights. It is the recommended way to reduce telemetry traffic and storage, while preserving a statistically correct analysis of application data. The filter selects items that are related, so that you can navigate between items when you are doing diagnostic investigations. When metric counts are presented to you in the portal, they are renormalized to take account of the sampling, to minimize any effect on the statistics.

The provided link helps you understand what is going on and how to enable/disable sampling.

Upvotes: 1

Related Questions