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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南