Send your event data from RudderStack to Kinesis Firehose.
Amazon Kinesis Firehose gives you an easy and reliable way to load your streaming data into data lakes, data stores, and a host of other analytics tools. It is a fully-managed service that can be scaled automatically to match the load and throughput of your data, without requiring any additional administration.
RudderStack supports Amazon Kinesis Firehose as a destination where you can seamlessly send your event data.
RudderStack supports sending event data to Kinesis Firehose via the following connection modes:
Once you have confirmed that the source platform supports sending events to Kinesis Firehose, follow these steps:
From your RudderStack dashboard, add the source. Then, from the list of destinations, select Amazon Kinesis Firehose.
Assign a name to your destination and click Continue.
To successfully set up Kinesis Firehose as a destination, you need to configure the following settings:
AWS Region: Enter the AWS region in which you have created the Kinesis Firehose stream. This is a required field.
Role-based Authentication: Enable this setting to use the RudderStack IAM role for authentication. For more information on creating an AWS IAM role for RudderStack, refer to this guide.
IAM Role ARN: Enter the ARN of the IAM role.
It is highly recommended to enable this setting as the access keys-based authentication method is now deprecated.
If Role-based Authentication is disabled, you need to enter the AWS Access Key ID and AWS Secret Access Key to authorize RudderStack in order to write to the configured stream.
In both the role-based and access key-based authentication methods, you need to set a policy specifying the required permissions for RudderStack to write to your Kinesis Firehose stream. Refer to the Policy permissions section below for more information.
Mapping event to delivery streams: Use this setting to map the RudderStack Event Name to a Kinesis Firehose Delivery Stream.
Sending events to Kinesis Firehose
RudderStack supports sending the identify, page, and track events to specific Kinesis Firehose streams by configuring them in the dashboard.
You can also send an event type as page, identify, or track. For the track events, you can specify the event name based on the event name in the payload. For example:
If the event name is page, RudderStack sends all events with the type set to page.
If event name is Product Added , RudderStack sends all track events with the event as Product Added.
To send all events to a particular stream irrespective of the type or name, you can use * as the event name in the dashboard settings.
Note that the field Delivery Stream Name is case sensitive and has to be specified exactly as named in AWS. On the other hand, the Event Name field is not case sensitive, and thus RudderStack does not differentiate between Page or page before sending it to the Firehose stream.
To use the Firehose destination with RudderStack correctly, you must have a Firehose stream created in AWS. For more information on creating a Kinesis Firehose data delivery stream, refer to this AWS documentation.
You also need to create an IAM role and attach the policy containing the necessary permissions (PutRecord) for RudderStack to write to the stream.
How does event mapping work with the delivery stream?
If there is no delivery stream set for an event in the dashboard settings, RudderStack will not send the event to the Firehose stream.
If an event is set with a delivery stream, RudderStack sends the payload to the configured delivery stream.
If you have set the event type, Event Name, and * for mapping purposes, RudderStack gives the topmost priority to the event name, followed by type, and then *. For example, if the type of event is track and Event Name is Product Added, RudderStack does the mapping as shown:
Then all events go to the stream mapped with Product Added.
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
for the working of basic functionalities of the website. We also use third-party cookies that
analyze and understand how you use this website. These cookies will be stored in your browser
consent. You also have the option to opt-out of these cookies. But opting out of some of these
have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.