You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/redis/monitor-diagnostic-settings.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,10 @@ ms.devlang: azurecli
14
14
15
15
# Monitor Azure Managed Redis data using diagnostic settings
16
16
17
-
Diagnostic settings in Azure are used to collect resource logs. An Azure resource emits resource logs and provides rich, frequent data about the operation of that resource. These logs are captured per request and are also referred to as "data plane logs". See [diagnostic settings in Azure Monitor](/azure/azure-monitor/essentials/diagnostic-settings) for a recommended overview of the functionality in Azure. The content of these logs varies by resource type. In Azure Managed Redis, two options are available to log:
17
+
Diagnostic settings in Azure are used to collect resource logs. An Azure resource emits resource logs and provides rich, frequent data about the operation of that resource. These logs are captured per request and are also referred to as _data plane logs_. See [diagnostic settings in Azure Monitor](/azure/azure-monitor/essentials/diagnostic-settings) for a recommended overview of the functionality in Azure. The content of these logs varies by resource type. In Azure Managed Redis, two options are available to log:
18
18
19
19
-**Cache Metrics** (that is "AllMetrics") used to [log metrics from Azure Monitor](/azure/azure-monitor/essentials/diagnostic-settings?tabs=portal)
20
-
-**Connection Logs** logs connections to the cache for security and diagnostic purposes.
20
+
-**Connection Logs** logs connections to the cache for security and diagnostic purposes.
## Prerequisites/Limitations of Connection Logging
37
37
38
38
- When you use **OSS Cluster Policy**, logs are emitted from each data node. When you use **Enterprise Cluster Policy**, only the node being used as a proxy emits logs. Both versions still cover all connections to the cache. This is just an architectural difference.
39
-
- Data loss (that is, missing a connection event) is rare, but possible. Data loss is typically caused by networking issues.
40
-
- Disconnection logs aren't yet fully stable and events may be missed.
39
+
- Data loss (that is, missing a connection event) is rare, but possible. Data loss is typically caused by networking issues.
40
+
- Disconnection logs aren't yet fully stable and events can be missed.
41
41
- Because connection logs on Azure Managed Redis are event-based, be careful of your retention policies. For instance, if retention is set to 10 days, and a connection event occurred 15 days ago, that connection might still exist, but the log for that connection isn't retained.
42
42
- If using [active geo-replication](how-to-active-geo-replication.md), logging must be configured for each cache instance in the geo-replication group individually.
43
-
- All diagnostic settings may take up to [90 minutes](/azure/azure-monitor/essentials/diagnostic-settings#time-before-telemetry-gets-to-destination) to start flowing to your selected destination.
44
-
- Enabling connection logs may cause a small performance degradation to the Redis instance.
43
+
- All diagnostic settings can take up to [90 minutes](/azure/azure-monitor/essentials/diagnostic-settings#time-before-telemetry-gets-to-destination) to start flowing to your selected destination.
44
+
- Enabling connection logs might cause a small performance degradation to the Redis instance.
45
45
46
46
> [!NOTE]
47
-
> It is always possible to use the [INFO](https://redis.io/commands/info/) or [CLIENT LIST](https://redis.io/commands/client-list/) commands to check who is connected to a cache instance on-demand.
47
+
> It's always possible to use the [INFO](https://redis.io/commands/info/) or [CLIENT LIST](https://redis.io/commands/client-list/) commands to check who is connected to a cache instance on-demand.
48
48
>
49
49
50
50
> [!IMPORTANT]
51
-
> When selecting logs, you can chose either the specific _Category_ or _Category groups_, which are predefined groupings of logs across Azure services. When you use _Category groups_, [you can no longer configure the retention settings](/azure/azure-monitor/essentials/diagnostic-settings#resource-logs). If you need to determine retention duration for your connection logs, select the item in the _Categories_ section instead.
51
+
> When selecting logs, you can choose either the specific _Category_ or _Category groups_, which are predefined groupings of logs across Azure services. When you use _Category groups_, [you can no longer configure the retention settings](/azure/azure-monitor/essentials/diagnostic-settings#resource-logs). If you need to determine retention duration for your connection logs, select the item in the _Categories_ section instead.
52
52
>
53
53
54
54
## Log Destinations
55
55
56
56
You can turn on diagnostic settings for Azure Managed Redis instances and send resource logs to the following destinations:
57
57
58
58
-**Log Analytics workspace** - doesn't need to be in the same region as the resource being monitored.
59
-
-**Storage account** - must be in the same region as the cache. [Premium storage accounts are not supported](/azure/azure-monitor/essentials/diagnostic-settings#destination-limitations) as a destination, however.
59
+
-**Storage account** - must be in the same region as the cache. [Premium storage accounts aren't supported](/azure/azure-monitor/essentials/diagnostic-settings#destination-limitations) as a destination, however.
60
60
-**Event hub** - diagnostic settings can't access event hub resources when virtual networks are enabled. Enable the **Allow trusted Microsoft services to bypass this firewall?** setting in event hubs to grant access to your event hub resources. The event hub must be in the same region as the cache.
61
61
-**Partner Solution** - a list of potential partner logging solutions can be found [here](/azure/partner-solutions/partners)
62
62
@@ -133,7 +133,7 @@ Use the `az monitor diagnostic-settings create` command to create a diagnostic s
@@ -161,7 +161,7 @@ These fields and properties appear in the `ConnectionEvents` log category. In **
161
161
|`eventStatus`|`EventStatus`| Results of an authentication request as a status code (only applicable for authentication event). |
162
162
163
163
> [!NOTE]
164
-
> If private link is used, only a IPv6 address will be logged (unless you are streaming the data to log analytics). You can convert the IPv6 address to the equivalent IPv4 address by looking at the last four bytes of data in the IPv6 address. For instance, in the private link IPv6 address "fd40:8913:31:6810:6c31:200:a01:104", the last four bytes in hexadecimal are "0a", "01", "01", and "04". (Note that leading zeros are omitted after each colon.) These correspond to "10", "1", "1", and "4" in decimal, giving us the IPv4 address "10.1.1.4".
164
+
> If private link is used, only a IPv6 address is logged (unless you're streaming the data to log analytics). You can convert the IPv6 address to the equivalent IPv4 address by looking at the last four bytes of data in the IPv6 address. For instance, in the private link IPv6 address `fd40:8913:31:6810:6c31:200:a01:104` the last four bytes in hexadecimal are `0a`, `01`, `01`, and `04`. (Leading zeros are omitted after each colon.) These bytes correspond to `10`, `1`, `1`, and `4` in decimal, giving us the IPv4 address `10.1.1.4`.
0 commit comments