Collection of AWS Events

AWS requires an external endpoint, with https. The default installation of Kloudfuse enables an ingress service with external IP enabled, but no https support. To get the external IP, run: kubectl get svc | grep kfuse-ingress-nginx-controller.

Contact us at info@kloudfuse.com, if help is needed for setting up https on the external endpoint.

Create EventBridge Connection

  • Go to the EventBridge console

    • In the navigation pane, choose API destinations.

    • Choose the Connections tab, and then choose to Create connection.

    • For Destination type, choose Other

    • For the Authorization type, choose the API key.

    • For the API key name, enter Kf-Api-Key.

    • For Value, enter KFUSE-API-VALUE.

    • Choose to Create.

 

Create EventBridge API Destination

  • Go to the EventBridge console

    • In the navigation pane, choose API destinations.

    • Choose to Create API destination.

    • Enter a name and description for the API destination.

    • For the API destination endpoint, enter https://<external facing endpoint of Kfuse cluster>/ingester/eventbridge.

    • For the HTTP method, choose POST.

    • For Connection, choose to Use an existing connection and choose the connection you created in step 1.

    • Choose to Create.

Create EventBridge Rule

  • Go to the EventBridge console

    • In the navigation pane, choose Rules.

    • Choose Create rule.

    • Enter a name and description for the rule.

    • For Event bus, choose default.

    • For Rule type, choose Rule with an event pattern.

    • Choose Next.

    • For Event source, choose Other.

    • For the Event pattern, enter the following to send everything (Note the pattern can be changed to match specific events):

      { "source": [{ "exists": true }] }

       

    • Choose Next.

    • For Target types, choose EventBridge API destination.

    • For API destination, choose to Use an existing API destination, and then choose the destination you created in step 2.

    • For the Execution role, choose to Create a new for role for this specific resource.

    • Choose Next.

    • Choose Next.

    • Review the details of the rule and choose to Create rule.