Ingest your event data from Looker into RudderStack.
Looker is a popular Business Intelligence and data analytics platform that allows you to explore your data for actionable, business-oriented insights.
You can now use Looker as a data source to send enriched user activities and their associated properties over a period of time to RudderStack. RudderStack then forwards this data to your specified destinations for real-time syncing of the newly created properties and actions.
This guide will help you in setting up Looker as a source in RudderStack.
Setting up the Looker actions
After creating your views in Looker, you need to set-up the necessary Looker actions. Go to your Looker actions dashboard to do this.
While RudderStack supports teams and individual workspaces in its Enterprise edition, Looker does not allow individual Action Hub configurations for different members of the same organization.
If you want to send the output of different looks to various RudderStack sources, you will need to host custom instances of Looker Action Hub. Refer to the Looker documentation for more information.
Configuring a Looker source in RudderStack
Follow these steps to set up your Looker source in the RudderStack dashboard:
Go to your RudderStack dashboard and click Add Source. From the list of Event Streams sources, select Looker.
Assign a name to your source and click Continue.
Your Looker source is now configured. Note the source Write key:
Adding the RudderStack Action Hub Server
This section describes the steps required to enable the RudderStack actions in Looker.
RudderStack hosts a Looker Action Hub Server that communicates with your Looker instance.
Once you connect the Action Hub Server to your Looker instance by clicking the Add Action Hub button present at the bottom of Looker actions dashboard, you can start viewing the following three RudderStack actions:
Actions
Description
Identify
Adds the traits to your RudderStack users via the identify event.
Group
Adds the traits or users to your RudderStack groups via the group event.
Track
Adds the user properties for your users via the track event.
Configuring the actions
To enable any of the above actions, click the Settings button.
Specify the Rudder Server URL to which Looker forwards the user looks data. The URL is https://<your-dataplane-url>/v1/batch. For more information on obtaining your data plane URL, refer to the RudderStack Glossary.
Once the connection is successful, you should start seeing the RudderStack actions.
RudderStack actions overview
Once configured, RudderStack actions will start sending the query results to RudderStack.
When defining the columns for the Looker models attached to the user looks that you want to send to RudderStack, it’s important to tag the user identifier column as emailoruser_idorrudder_anonymous_id.
Additionally, to use the RudderStack Group action, you need to tag your group identifier column as rudder_group_id.
In some specific cases, for example, Redis - the user_id field always needs to be present even if email is already present.
The other user and activity columns are sent as traits or properties along with the payload sent to RudderStack.
A sample track payload from the look’s row data sent by the RudderStack Track action is as shown:
The column names in your looks are transformed as view name.column name in the payload sent to RudderStack. If you want to change the names as per your destination, you can do so using RudderStack’s Transformations feature.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
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.
This site uses cookies to improve your experience. If you want to
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.