diff --git a/code/products/flink/slack_notification.md b/code/products/flink/slack_notification.md index c4b29028ab..5393abc50d 100644 --- a/code/products/flink/slack_notification.md +++ b/code/products/flink/slack_notification.md @@ -1,6 +1,6 @@ INSERT INTO SLACK_SINK SELECT - '', + '$CHANNEL_ID', 'host:' || CPU.hostname || ' CPU: ' || cpu || ' avg CPU value:' || TRY_CAST(usage_avg as string) || diff --git a/code/products/flink/slack_sink.md b/code/products/flink/slack_sink.md index bb3dc04d7b..ffa0130e71 100644 --- a/code/products/flink/slack_sink.md +++ b/code/products/flink/slack_sink.md @@ -3,5 +3,5 @@ create table SLACK_SINK ( message STRING ) WITH ( 'connector' = 'slack', - 'token' = '' + 'token' = '$SLACK_TOKEN' ) \ No newline at end of file