A LogHub (SLS) reader reads data from LogHub (SLS) topics you specified in real time and supports shard merge and split.
Create a LogHub (SLS) reader
- Log on to the DataWorks console. In the left-side navigation pane, click Workspaces. On the Workspaces page, find the target workspace and click Data Analytics in the Actions column.
- On the Data Analytics tab, move the pointer over the icon and choose
You can also find the target workflow, right-click Data Integration, and choose .
- In the Create Node dialog box that appears, set Node Name and Location, and then click Commit.
- On the configuration tab of the real-time sync node, drag LogHub under to the editing panel.
- Click the LogHub node and set parameters in the Node Settings section.
Parameter Description Connection The connection to LogHub (SLS). In this example, you can only select a LogHub connection.
If no connection is available, click Add Connection on the right to create one on the page.
Logstore The name of the Logstore from which data is read in LogHub (SLS). You can click Preview on the right to preview the selected Logstore. Start Offset The start time of the sync node. Time Zone The time zone where LogHub (SLS) resides. Advanced Settings Specifies whether to split data in the Logstore. Output Fields The fields from which data is read.
- Click in the toolbar.