DX OI - "APM Alarms do not support the action" message, unable to clear or  hide any APM Alarm in OI UI

book

Article ID: 201612

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

I am unable to clear or hide any APM Alarm in OI UI. Why?

Cause

OI 1.3.2 doesn't support clear or hide actions from OI UI.

From OI 1.3.2 documentation:
 
 
 

Environment

Release : 1.3.2

Component : CA DOI OI CONNECTOR

Resolution

Workaround: Manually delete the APM alarms from Elastic index using POSTMAN

 

IMPORTANT NOTES:
 
1. You must close any ServiceNow incident that has been created for the affected APM alarms before deleting it from the Elastic index.
2. Below actions will permanently delete the alarm(s) from Elastic index
3. DO NOT change the given filter "doc_type_id": "itoa_alarms_apm"
 
 
STEP 1:  Find the APM alarms you want to delete using the OI UI
 
Here is an example:
 
 
 
STEP 2: Delete the alarm(s)
 
First, you can find your Tenant ID via querying elastic:
 
Endpoint:
http://{Elastic-endpoint}/ao_tenants_1_1/_search?size=200&pretty
 
For example:
 
 
Option 1 : Delete a specific alarm
 
Endpoint:
http://{Elastic-endpoint}/ao_itoa_alarms_all_1*/_delete_by_query
 
Syntax:
{
    "query": {
        "bool": {
            "must": [
               {
                   "match": {
                      "doc_type_id""itoa_alarms_apm"
                   }
               },{
                   "match": {
                      "alarm_unique_id""<alarm-id>"
                   }
               },{
                   "match": {
                      "@tenant_id""<tenant-id>"
                   }
               }
            ]
        }
    }
}
 
Example:
 
{
    "query": {
        "bool": {
            "must": [
               {
                   "match": {
                      "doc_type_id": "itoa_alarms_apm"
                   }
               },{
                   "match": {
                      "alarm_unique_id": "ibntest003751-7820caea-2cae-42a2-8028-ab5199328e9f-ibntest003751"
                   }
               },{
                   "match": {
                      "@tenant_id": "DOI132-USERSTORE"
                   }
               }
            ]
        }
    }
}
 
Option 2 : Delete all APM alarm
 
Endpoint:
http://{Elastic-endpoint}/ao_itoa_alarms_all_1*/_delete_by_query
 
Syntax:
{
    "query": {
        "bool": {
            "must": [
               {
                   "match": {
                      "doc_type_id""itoa_alarms_apm"
                   }
               },{
                   "match": {
                      "@tenant_id""<tenant-id>"
                   }
               }
            ]
        }
    }
}
 
Example:
 
{
    "query": {
        "bool": {
            "must": [
               {
                   "match": {
                      "doc_type_id": "itoa_alarms_apm"
                   }
               },{
                   "match": {
                      "@tenant_id": "DOI132-USERSTORE"
                   }
               }
            ]
        }
    }
}

Attachments