Help Center/
EventGrid/
Best Practices/
Routing Messages from OBS Application Service to Custom Connections Based on Event Subscriptions/
Implementation Procedure/
Creating an Event Subscription
Updated on 2025-08-07 GMT+08:00
Creating an Event Subscription
Constraints
- If you specify an object name prefix or suffix, only events with the prefix or suffix will be processed. If not specified, events of any object will be processed.
- If the selected OBS bucket is invoked by other event subscriptions, ensure that the object name prefix and suffix are different from those configured in other event subscriptions. Otherwise, an error message is displayed.
Procedure
- Log in to the EG console.
- In the navigation pane on the left, choose Event Bus > Event Subscriptions. Then, click Create Event Subscription in the upper right corner.
- On the event subscription editing page, click
in the upper left corner, enter the subscription name and description, and click OK.
- Configure the event source. The event source parameters are as follows. For more information about event subscriptions, see Creating an Event Subscription.
- Provider: Select Cloud services.
- Event Source: Select OBS Application Service.
- Bucket: Select the bucket created in Creating an OBS Bucket.
- Event Type: Select the desired event types.
- Object Name Prefix: If this parameter is set, an event can be triggered only when the name matches the specified prefix. By default, this parameter is left blank, indicating that all objects are matched.
- Object Name Suffix: If this parameter is set, an event can be triggered only when the name matches the specified suffix. By default, this parameter is left blank, indicating that all objects are matched.
- Object Name Encoding: This function is enabled by default.
- Filter Rule: For details about how to configure a filtering rule, see Filter Rule Parameters.
- Configure the event target. The parameters are as follows:
- Provider: Select Custom.
- URL: Enter the IP address of the ECS instance created in Purchasing an ECS. The URL format is https://x.x.x.x:8000.
- Connection: Select the connection created in Creating a Connection.
Retain the default values for other parameters.
- After all parameters are configured, click Save in the upper right corner. The event subscription is created.
Parent topic: Implementation Procedure
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot