This command modifies an event notification definition.
Usage
eventnotification modify --name NAME --view-id ID [--broker-id ID] [--topic TOPIC] [--triggers EVENTS] [--prefix-filter FILTER_STRING] [--prefix-filter FILTER_STRING]
Required Parameters
| The name of the event notification definition that you want to edit. |
| The ID of the view to which the event notification definition applies. |
Options
| The ID of the event broker to which events will be published. The event broker must be defined on the VAST cluster. |
| The name of the topic to which to publish events. |
| Specify a comma-separated list of events for which you want to send notifications. Valid keywords for
For example: |
| Sends notifications only for those events that have an object key prefix matching the filter string. For example: |
| Sends notifications only for those events that have an object key prefix matching the filter string. For example: |
Example
To modify an existing definition so that it sends event notifications to event broker 2:
vcli: admin> eventnotification modify --name ev --view-id 12 --kafka-broker 2