EventBus rule is not picking up any data that is flowing through EventBus

0

Current state:

Account A has:

  1. EventBus A with EventBus rule
  2. Lambda that makes a request to EventBus A.
  3. EventBus rule that targets EventBus B
  4. EventBus rule that has custom Event Pattern to match all events:
{
  "source": [{
    "prefix": ""
  }]
}

Account B has:

  1. a global EventBus B
  2. an allow list that blocks requests from EventBus A (only allows data flowing from allow listed sources)

My goal:

  1. See data flow through EventBus A in "monitoring" metrics tab (observed behavior: this is done and working)
  2. See data flow through EventBus A's rule but not to the global EventBus (observed behavior: this is NOT working - all metrics in the monitoring tab show "no data available")
  3. See "Matched Events" metric increment for the Event Bus A Rule. (observed behavior: this is NOT working - "no data available")

I can't seem to figure out why the EventBus A rule, which should match all events, isn't matching with any of the events that are flowing through EventBus A? I also tried allowing all events to flow through the rule and this also produced the same observed behavior.

質問済み 1ヶ月前137ビュー
1回答
0
承認された回答

I've figured the issue out. The metrics under a custom event bus actually show metrics for ALL event bus events not just the custom event bus. This led me to believe that data was flowing through the custom event bus but it was not.

I checked and the ARN I was publishing to was incorrect. I'm guessing the data flowed to the default event bus which the rule isn't listening on.

回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ