Skip to content

Commit 40082f1

Browse files
authored
Merge pull request #115358 from kpeechara/kapil-branch-7
Changes suggested by PG
2 parents 7aae649 + fb5627d commit 40082f1

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

articles/azure-monitor/containers/container-insights-logging-v2.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,29 @@ This applies to the scenario where you have already enabled container insights f
101101
>* The configuration change can take a few minutes to complete before it takes effect. All ama-logs pods in the cluster will restart.
102102
>* The restart is a rolling restart for all ama-logs pods. It won't restart all of them at the same time.
103103

104-
## Multi-line logging in Container Insights (preview)
104+
## Multi-line logging in Container Insights
105105
Azure Monitor container insights now supports multiline logging. With this feature enabled, previously split container logs are stitched together and sent as single entries to the ContainerLogV2 table. Customers are able see container log lines upto to 64 KB (up from the existing 16 KB limit). If the stitched log line is larger than 64 KB, it gets truncated due to Log Analytics limits.
106-
Additionally, the feature also adds support for .NET and Go stack traces, which appear as single entries instead of being split into multiple entries in ContainerLogV2 table.
106+
Additionally, the feature also adds support for .NET, Go, Python and Java stack traces, which appear as single entries instead of being split into multiple entries in ContainerLogV2 table.
107+
108+
Below are two screenshots which demonstrate Multi-line logging at work for Go exception stack trace:
109+
110+
Multi-line logging disabled scenario:
111+
112+
![Screenshot that shows Multi-line logging disabled.](./media/container-insights-logging-v2/multi-line-disabled-go.png)
113+
114+
Multi-line logging enabled scenario:
115+
116+
[ ![Screenshot that shows Multi-line enabled.](./media/container-insights-logging-v2/multi-line-enabled-go.png) ](./media/container-insights-logging-v2/multi-line-enabled-go.png#lightbox)
117+
118+
Similarly, below screenshots depict Multi-line logging enabled scenarios for Java and Python stack traces:
119+
120+
For Java:
121+
122+
[ ![Screenshot that shows Multi-line enabled for Java](./media/container-insights-logging-v2/multi-line-enabled-java.png) ](./media/container-insights-logging-v2/multi-line-enabled-java.png#lightbox)
123+
124+
For Python:
125+
126+
[ ![Screenshot that shows Multi-line enabled for Python](./media/container-insights-logging-v2/multi-line-enabled-python.png) ](./media/container-insights-logging-v2/multi-line-enabled-python.png#lightbox)
107127

108128
### Pre-requisites
109129

@@ -116,7 +136,7 @@ Multi-line logging is a preview feature and can be enabled by setting **enabled*
116136
[log_collection_settings.enable_multiline_logs]
117137
# fluent-bit based multiline log collection for go (stacktrace), dotnet (stacktrace)
118138
# if enabled will also stitch together container logs split by docker/cri due to size limits(16KB per log line)
119-
enabled = "true"
139+
enabled = "true"
120140
```
121141

122142
## Next steps
107 KB
Loading
102 KB
Loading
65.1 KB
Loading
104 KB
Loading

0 commit comments

Comments
 (0)