Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This page will help you push events of AWS services to Google Chronicle using Amazon Data Firehose.

Please follow below steps to configure Amazon Data Firehose:

Create Amazon Data Firehose

  1. Go to Amazon Kinesis

  2. Navigate to Amazon Data Firehose

  3. Click Create Firehose Stream

image-20240807-091748.png
  1. Provide the Source as Direct PUT

  2. Select Destination as HTTP Endpoint

  3. Provide Firehose stream name

  4. In Destination settings enter the URL provided by onboarding engineer. Please note that we need to append access key at the end of the URL before entering.

URL format would be: <URL_shared_by_onboarding_eng>?key=<access_key>

  1. In Authentication, keep use access key

  2. Provide the secret in Access key

image-20240807-091941.png
  1. Select Content encoding as GZIP

  2. Provide Retry duration as per your organization policy

  3. In Backup settings, provide what data you want to back up as per organization policy. Select S3 bucket and provide prefix (optional).

  4. In Advanced settings, enable server-side encryption.

  5. In Amazon CloudWatch error logging, choose Enabled if you want Amazon Data Firehose to log record delivery errors to CloudWatch Logs.

  6. In Service access, select Create or update IAM role if role is not available already. If continuing with the existing role, select Choose existing IAM role.

  7. Add tags as per organization policy.

  8. Create Firehose Stream.

 Update IAM role attached to Firehose Stream

  1. Once the stream is created, open the stream and navigate to configuration.

image-20240807-092057.png
  1. In configuration > Service access, click service role, it will open in a new window.

image-20240807-092126.png

Ensure that along with the existing policy, below is also included

{
            "Effect": "Allow",
            "Action": [
                "firehose:PutRecord",
                "firehose:PutRecordBatch"
            ],
            "Resource": "arn:aws:firehose:<REGION>:<ACCOUNT_NUMBER>:deliverystream/<STREAM_NAME>"
        }

 

Create Amazon EventBridge Rule

  1. Go to Amazon EventBridge

  2. Click Create Rule

  3. Provide Rule Name and Description

  4. Select Rule type as Rule with an event pattern

  5. Click Next

image-20240807-092256.png
  1. In Event source, select AWS events or EventBridge partner events.

image-20240807-092322.png
  1. In Event pattern, select appropriate AWS Service and Event Type. For example, here we are selecting AWS Security Hub.

image-20240807-092516.png
  1. Click Next.

  2. In Select a Target, choose Firehose Stream.

  3. In Stream, choose previously created stream.

  4. Select Create a new role.

image-20240807-092631.png
  1. Click Next

  2. Provide tags as per organization policy

  3. Review and create rule

 After these configuration AWS service that we select as event source in eventbridge rule will start forwarding logs to HTTP endpoint we configure in Firehose Stream.

  • No labels