System Authoring
The system view displays a hierarchical view of defined event patterns and the data flows between them. It provides an interface for:
- Determining what kind of event patterns a model is going to have.
- Specifying the types of data that event patterns receive for input and produce for output.
- Charting how data flows from one event pattern to another.
Creating Event Patterns
To create an event pattern:
- In the tool palette, click the Event Pattern icon. (Note: This is currently the only tool available in the system view.) Alternatively, right-click in the diagramming area, and select "New Pattern" from the context menu.
- Click any open space in the diagramming area to place an event pattern node.
- In the details panel, change the properties of the event pattern as needed:
- Under the Attributes section:
- In the Name field, enter a name for the event pattern.
- In the Description field, enter an optional description for the event pattern.
- Set the Enable Provenance toggle to "On" to enable drilldown metadata to be generated and published to Kafka. This allows Cogynt Analyst Workstation to build a drilldown tree based on the metadata provided. Chaining multiple patterns together with provenance enabled makes it possible to see the upstream to downstream relationship between patterns in your drilldown.
- Under Partitions, enable and create new partitions as needed. For more information, see Working with Partitions.
- Under Windowing, define the windowing for the event pattern as needed. For more information, see Setting Windowing.
- Under the Input Events section, verify the event pattern's inputs after they have been configured. For more information, see Establishing Event Pattern Data Flow.
- Under the Output Events section, verify the event pattern's outputs after they have been configured. For more information, see Establishing Event Pattern Data Flow.
- Under the From Nodes section, verify the event pattern's "from nodes" after they have been configured. For more information, see Establishing Event Pattern Data Flow.
- Under the To Nodes section, verify the event pattern's "to nodes" after they have been configured. For more information, see Establishing Event Pattern Data Flow.
- Under the Tags section, add or remove tags for the event pattern as needed. For more information, see Managing Tags.
- Under the Attributes section:
Establishing Event Pattern Data Flow
Data flow between event patterns is established by creating "connecting events" that join the two event patterns.
To create a connecting event between two event patterns:
- In the diagramming area, click the event pattern to serve as the source (that is, the pattern to produce output data).
- Click the Connection button and drag the cursor to the target event node (that is, the pattern to receive input data). The source pattern's output is automatically configured as the target pattern's input.
- If the source pattern does not contain an output event type, while the target pattern does contain input event types, select one of the following options from the dialogue that opens:
- Pick an input event type from the list of the target pattern's input event types.
- Pick an existing event type that is not yet among the target pattern's input event types.
- Create a new event type. (Follow the steps in Creating New Event Types to create the new event type.)
- If the source pattern does not contain an output event type, while the target pattern does not contain input event types, select one of the following options from the dialogue that opens:
- Pick an existing event type that is not yet among the target pattern's input event types.
- Create a new event type. (Follow the steps in Creating New Event Types to create the new event type.)
Duplicating Event Patterns
Copies of event patterns can be made as needed.
To duplicate an event pattern:
- In the diagramming area, click an event pattern to duplicate.
- Click the Duplicate button and drag the cursor to an open space in the diagramming area.
- Release the mouse button. The duplicate event pattern is created at the cursor's location.
Alternatively:
- In the diagramming area, right-click an event pattern to duplicate.
- From the context menu, select Duplicate.
Deleting Event Patterns
Existing event patterns can be deleted as necessary.
To delete an event pattern:
- In the diagramming area, click an event pattern to delete.
- Click Delete (X).
Alternatively:
- In the diagramming area, right-click an event pattern to delete.
- From the context menu, select Delete.
Editing Event Patterns
The details of existing event patterns can be modified as needed.
To edit the data for an event pattern:
- In the diagramming area, click an event pattern to edit.
- In the details panel, click the Contents tab if it is not already selected.
- Edit the event pattern information as needed. For details about the different fields, see Step 3 of Creating Event Patterns.