Adding an Event Type to an Events Rule
Add an event type to a rule in Events to identify the type of event included in the payload.
For more information about using event types in an events rule, see Matching Events with Filters.
- Navigate to the events list page. If you need help finding the list page, see Listing Events Rules.
- Select a rule and then select Conditions.
- Under Attributes, select Add attribute.
- Under Event types, select Add Event Type.
- In the Add event type panel, select a Service name and Event type.
- Select Add event type.
Use the
--conditionoption when running the oci events rule update command to add an event type of an events rule:oci events rule update [...] --condition conditionFor a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the UpdateRule operation to edit an event rule. Include the
conditionattribute and its values to add an event type to an events rule.