CI binding using name and environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 02:02 AM
Hi All,
We are using name and environment as one of the identifier entry for server class.
I am in the process of using the name and environment values for CI binding.
The problem what I am facing is, if environment contains the value of 'Preprod' then I have to map to the value 'Clone'
Ex: if name = abc and environment = Preprod
then I need to do the Ci binding to name = abc and environment = clone.
I tried with event field mapping but it didn't work as expected.
Please do let me know if you have any thought on this. Thank You!
Best Regards,
Ganesh
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2025 12:38 AM
Hello Ganeshm1,
You can do this in two ways. The first is "event field mapping," and the second is "event rule."
Steps to Implement the Mapping
Create an Event Field Mapping:
Name: Map Preprod to Clone
Source: Your event source (e.g., abc_monitoring)
Order: Set an appropriate order number.
Mapping Type: Select Single Field.
From Field: environment
To Field: environment
Mapping Pairs:
Preprod → Clone
This setup ensures that when an event with environment = Preprod is received, the environment field is mapped to Clone during event processing.
Configure an Event Rule:
Name: Bind CI for Preprod Events
Source: Your event source (e.g., abc_monitoring)
Order: Set an appropriate order number.
Event Filter: environment is Clone
Transform and Compose: Define the necessary transformations to ensure the event is processed correctly.
Binding: Set the binding to match the CI based on the transformed environment field.
This rule will trigger when an event's environment is mapped to Clone, ensuring the correct CI binding.
Please mark my response if it was helpful!
Thank you!