8. Map Logscan KPIs to Heal KPIs:
8. Map Logscan KPIs to Heal KPIs: in Elasticsearch Connector.
8. Map Logscan KPIs to Heal KPIs:#
# non group common kpis
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_MEMBER_NO_HEARTBEAT'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_MEMBER_NO_HEARTBEAT')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_CRASHED'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_CRASHED')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_LOCATOR_TERMINATED'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_LOCATOR_TERMINATED')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_OOM_NATIVE_THREAD'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_OOM_NATIVE_THREAD')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_MEMBER_FORCED_OUT'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_MEMBER_FORCED_OUT')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_NO_BUCKET_HOST'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_NO_BUCKET_HOST')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_PARTITION_OFFLINE_EXCEPTION'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_PARTITION_OFFLINE_EXCEPTION')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_INSUFFICIENT_BUCKET_STORES'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_INSUFFICIENT_BUCKET_STORES')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_BUCKET_ALLOC_RETRIES_EXHAUSTED'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_BUCKET_ALLOC_RETRIES_EXHAUSTED')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_NETWORK_PARTITION_EXIT'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_NETWORK_PARTITION_EXIT')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_FORCED_DISCONNECT_EXCEPTION'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_FORCED_DISCONNECT_EXCEPTION')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_DISK_ACCESS_EXCEPTION'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_GEMFIRE_DISK_ACCESS_EXCEPTION')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CORRUPT_RECORD'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CORRUPT_RECORD')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CONNECTION_FAILURE'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CONNECTION_FAILURE')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_SASL_AUTH_FAILURE'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_SASL_AUTH_FAILURE')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_BOOTSTRAP_DISCONNECTED'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_BOOTSTRAP_DISCONNECTED')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_METADATA_TIMEOUT'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_METADATA_TIMEOUT')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CONSUMER_LAG'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_CONSUMER_LAG')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_DISK_WRITE_ERROR'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_DISK_WRITE_ERROR')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_LEADER_ELECTION_FAILURE'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_KAFKA_LEADER_ELECTION_FAILURE')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_INVALID_CLUSTER_CONFIG'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_INVALID_CLUSTER_CONFIG')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_NO_HEALTHY_UPSTREAM'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_NO_HEALTHY_UPSTREAM')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_UPSTREAM_RESET'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_UPSTREAM_RESET')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_CERT_FETCH_FAILURE'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_CERT_FETCH_FAILURE')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_TLS_HANDSHAKE_FAILURE'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_TLS_HANDSHAKE_FAILURE')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_HTTP_503'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_HTTP_503')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_HTTP_502'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'SB_SERVICEMESH_HTTP_502')));
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'APS_LA_SysErr_JDBC_Connection_Exception'), (select heal_kpi_uid from a1_logscan_kpis where heal_kpi_name = (select identifier from appsone.mst_kpi_details where identifier= 'APS_LA_SysErr_JDBC_Connection_Exception')));
# group kpis service specific
INSERT INTO `domain_to_heal_kpi_mappings` (domain, heal_kpi_id, src_kpi_id) VALUES ('elasticsearch', (select identifier from appsone.mst_kpi_details where identifier= 'MS_EXCEPTIONS'), (select id from appsone.mst_kpi_details where identifier= 'MS_EXCEPTIONS'));