Use location tags in event data
The APEX AIOps Incident Management Events API schema includes a locations field that defines the physical or virtual location where an event occurred.
When defining locations, it is good practice to use the same conventions for all events. For example, if you want to define virtual locations, use the same event field (such as data_center) and the same location names used by your cloud vendor.
The events schema includes the following location fields:
Physical locations (string)
streetbuildingcitystate_or_provincecountrypostcoderackaisleu_position
Physical locations (integer)
suiteNote that the value for
suiteis a number.floor
Virtual or cloud locations (string)
regiondata_centeravailability_zone
Geographic coordinates (string)
These fields are strings. Use decimal degrees (DD) format, for example 41.40338 and 2.17403
geo_coordinates.latgeo_coordinates.long
Including location tags
Location tags only appear in events and alerts. They are not included in incidents. If location information is needed in incidents, you can preserve the values in location tags by copying them to other tags using workflow actions such as the Set Tags action.
You can reference location tags in this format:
location.region
Location tags must appear in this format for use in event payloads:
"location": {
"street": "value",
"building": "value",
"city": "value",
"suite": 100,
...
}Use this format for geo_coordinates:
"location": {
"geo_coordinates": {
"lat": 30.508255,
"long": -97.678894
}
}