All parameters of the sample Job are already set except one: the access token to
the Dropbox application where the log file is stored.
Procedure
-
Open the Video Viewers Watch Results Log Filter Job in Talend Studio.
-
Click the tDropboxConnection component.
In the component basic settings, you can see that the value of the access token
refers to a context parameter:
context.connection_dropbox_access_token
.
-
In the Repository tree view, navigate to and double-click the Dropbox context.
-
Enter a purpose, for example Talend Cloud
getting started, and description, for example Streaming and
royalties data.
-
Click Next.
-
Enter the Dropbox access token in the Value field.
-
Click Finish.
-
Choose to propagate the connection to all Jobs in the project.
-
Save the Job.
-
Click in the toolbar to run the Job.
Results
In your Dropbox application, the
StreamingResultsLog_FilteredRecords.csv file has been generated.
This file contains all records where the PercentWatched
value is above
0.2, meaning that users have watched more than 20 % of the movie.