Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 2a3086c

Browse files
Managed Flink: Add further notes on Logs integration (#1644)
1 parent b963d30 commit 2a3086c

File tree

1 file changed

+8
-0
lines changed
  • content/en/user-guide/aws/kinesisanalyticsv2

1 file changed

+8
-0
lines changed

content/en/user-guide/aws/kinesisanalyticsv2/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ $ awslocal kinesisanalyticsv2 add-application-cloud-watch-logging-option \
183183
}
184184
{{< /command >}}
185185

186+
{{< callout >}}
187+
Enabling CloudWatch Logs integration has a significant performance hit.
188+
{{< /callout >}}
189+
186190
Configured logging options can be retrieved using [DescribeApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_DescribeApplication.html):
187191

188192
{{< command >}}
@@ -206,6 +210,10 @@ $ awslocal logs get-log-events --log-group-name msaf-log-group --log-stream-name
206210
Logs events are reported to CloudWatch every 10 seconds.
207211
{{< /callout >}}
208212

213+
LocalStack reports both Flink application and Flink framework logs to CloudWatch.
214+
However, certain extended information such as stack traces may be missing.
215+
You may obtain this information by execing into the Flink Docker container created by LocalStack and inspecting `/opt/flink/log`.
216+
209217
## Resource Tagging
210218

211219
You can manage [resource tags](https://docs.aws.amazon.com/managed-flink/latest/java/how-tagging.html) using [TagResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_TagResource.html), [UntagResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_UntagResource.html) and [ListTagsForResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_ListTagsForResource.html).

0 commit comments

Comments
 (0)