Skip to content

AWS EventBridge

AWS EventBridge provides a serverless event bus service that enables you to collect and route data from your applications and services to any target destination. By integrating EventBridge with Coralogix, you can stream real-time application data for comprehensive monitoring and analysis.

Requirements

  • AWS account

  • Amazon EventBridge event bus created

Create an API destination to Coralogix

1.

Go to EventBridge > API destinations, and create a new API destination.

For the API destination endpoint, select the https://ingress./aws/event-bridge endpoint that corresponds to your Coralogix domain using the domain selector at the top of the page.

Create a new connection:

GuardDuty connection configuration

4.

Optionally, specify the application and subsystem name.

Select Invocation Http Parameters and add 2 parameters as shown in the screenshot below. The values can be anything you would like to identify the logs with.

Invocation HTTP parameters

5.

To send your data to Coralogix, create your unique Coralogix Send-Your-Data API key and fill the values as detailed below.
SettingValue
Authorization typeAPI Key
API Key Namex-amz-event-bridge-access-key
API Key ValueYour Coralogix Send-Your-Data API key

Create an EventBridge Rule

1.

Create a rule to route the events to the API destination. On the Buses section, select Rules.

2.

Select Create rule

3.

Give the rule a name, select the correct event bus, and select Next.

4.

For Event pattern (source), scroll down and select the desired source. "GuardDuty Findings", for example.

Event pattern

5.

Select EventBridge API destination as the target.

Every event that goes to the selected event bus will be sent to Coralogix.

CloudFormation

You can automate the EventBridge setup using the AWS EventBridge CloudFormation template.
ParameterDescriptionRequired
ApplicationNameCoralogix application name
SubsystemNameCoralogix subsystem name
EventbridgeStreamAWS EventBridge delivery stream name
RoleNameIAM role name for EventBridge
PrivateKeyCoralogix Send-Your-Data API key
CoralogixRegionCoralogix account region (EU1, EU2, AP1, AP2, AP3, US1, US2)
CustomUrlCustom Coralogix endpoint URL

Terraform Module Setup

Using Coralogix Terraform modules, you can install and manage the EventBridge integration as modules in your infrastructure code. Modules are available on GitHub and the Terraform Registry. For the full module reference, see AWS EventBridge Terraform Module.

Requirements
ProviderVersion
terraform>= 1.9
aws>= 6.0

module "eventbridge_coralogix" {
  source             = "coralogix/aws/coralogix//modules/eventbridge"
  eventbridge_stream = var.coralogix_eventbridge_stream_name
  role_name          = var.eventbridge_role_name
  private_key        = var.coralogix_privatekey
  coralogix_region   = var.coralogix_region
  application_name   = var.application_name
}
VariableDescriptionRequired
eventbridge_streamAWS EventBridge delivery stream name
role_nameIAM role name for EventBridge
private_keyCoralogix Send-Your-Data API key
coralogix_regionCoralogix region (EU1, EU2, AP1, AP2, AP3, US1, US2, Custom)
application_nameCoralogix application name
sourcesEventBridge event sources to match
policy_nameIAM policy name
custom_urlCustom Coralogix endpoint
detail_typeEventBridge detail type filter

Notes

A "resources" key is present in the AWS EventBridge and Cloudtrail integrations. If you are integrating both EventBridge and CloudTrail logs, create a parsing rule to rename the mentioned field to avoid mapping conflicts.

Additional resources

Coralogix EndpointsCoralogix Endpoints

Support

Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].