Streams and windows all have a fixed set of typed columns (aka schema). Events arriving on a particular input stream must contain a set of fields that is compatible (number and type of fields) with the input stream. Events with different field sets will typically be processed by different input streams.
Click on the + to the left of Schema to expand it.
Select the MACHINEDATA shape so that the toolbar appears. Click on the Add Column tool.
Click on Add Column three more times, so there are a total of 5 columns.
Double click on the name Column1
and change the name of this column to MACHINEID.
Double click on (INTEGER) to the right of MACHINEID to change the datatype for this column to string. (after double clicking, click the drop down arrow, and select string)
Change the rest of the column names and data types as follows:
Note that column names are case sensitive
Column Name |
Type |
MACHINEID |
string |
EVENT_TIME |
msdate |
EVENT_NAME |
string |
EVENT_DESCRIPTION |
string |
EVENT_VALUE |
string |
Your stream should look like this:
Click here - to collapse the shape.
Note: You can just drag the shape to a new position to organize our diagram.