Scenario: Reading an Apache access-log file - 6.1

Talend Components Reference Guide

Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for Data Quality
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
Data Governance
Data Quality and Preparation
Design and Development
Talend Studio

The following scenario creates a two-component Job, which aims at reading the access-log file for an Apache HTTP server and displaying the output in the Run log console.

  1. Drop a tApacheLogInput component and a tLogRow component from the Palette onto the design workspace.

  2. Right-click on the tApacheLogInput component and connect it to the tLogRow component using a Main Row link.

  3. In the design workspace, select tApacheLogInput.

  4. Click the Component tab to define the basic settings for tApacheLogInput.

  5. If desired, click the Edit schema button to see the read-only columns.

  6. In the File Name field, enter the file path or browse to the access-log file you want to read.

  7. In the design workspace, select tLogRow and click the Component tab to define its basic settings. For more information, see tLogRow

  8. Press F6 to execute the Job.

The log lines of the defined file are displayed on the console.