You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

543 lines
36 KiB

{
"algorithms": {
"GradientBoostingRegressor": {
"RMSE": 0,
"modelId": "",
"rSquared": 0,
"recommended": false
},
"LinearRegression": {
"RMSE": 0,
"modelId": "",
"rSquared": 0,
"recommended": false
},
"LogisticRegression": {
"accuracy": 0,
"f1_score": 0,
"modelId": "",
"precision": 0,
"recall": 0,
"recommended": false
},
"RandomForestRegressor": {
"RMSE": 0,
"modelId": "",
"rSquared": 0,
"recommended": false
}
},
"description": "Splunk APM - Application Error Rate",
"enabled": true,
"entity_rules": [
{
"rule_condition": "AND",
"rule_items": [
{
"field": "type",
"field_type": "info",
"rule_type": "matches",
"value": "SplunkAPM"
}
]
}
],
"key": "da-itsi-cp-splunk-observability-application-error-rate",
"kpis": [
{
"adaptive_thresholding_training_window": "-7d",
"adaptive_thresholds_is_enabled": false,
"aggregate_eval": "",
"aggregate_statop": "avg",
"aggregate_threshold_alert_enabled": false,
"aggregate_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": [
{
"dynamic_param": null,
"severity_color": "#B50101",
"severity_color_light": "#E5A6A6",
"severity_label": "critical",
"severity_label_localized": null,
"severity_value": 6.0,
"threshold_value": 0.0
},
{
"dynamic_param": null,
"severity_color": "#F26A35",
"severity_color_light": "#FBCBB9",
"severity_label": "high",
"severity_label_localized": null,
"severity_value": 5.0,
"threshold_value": 20.0
},
{
"dynamic_param": null,
"severity_color": "#FCB64E",
"severity_color_light": "#FEE6C1",
"severity_label": "medium",
"severity_label_localized": null,
"severity_value": 4.0,
"threshold_value": 40.0
},
{
"dynamic_param": null,
"severity_color": "#FFE98C",
"severity_color_light": "#FFF4C5",
"severity_label": "low",
"severity_label_localized": null,
"severity_value": 3.0,
"threshold_value": 60.0
},
{
"dynamic_param": null,
"severity_color": "#99D18B",
"severity_color_light": "#DCEFD7",
"severity_label": "normal",
"severity_label_localized": null,
"severity_value": 2.0,
"threshold_value": 80.0
}
]
},
"aggregate_thresholds_alert_enabled": false,
"aggregate_thresholds_custom_alert_enabled": false,
"aggregate_thresholds_custom_alert_rules": [],
"alert_eval": "",
"alert_lag": "30",
"alert_on": "both",
"alert_period": "1",
"anomaly_detection_alerting_enabled": false,
"anomaly_detection_is_enabled": false,
"anomaly_detection_sensitivity": 0.999,
"anomaly_detection_training_window": "-7d",
"backfill_earliest_time": "-7d",
"backfill_enabled": false,
"base_search": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)`",
"base_search_id": null,
"base_search_metric": null,
"cohesive_ad": {
"sensitivity": 8
},
"cohesive_anomaly_detection_is_enabled": false,
"datamodel": {
"datamodel": "",
"field": "",
"object": "",
"owner_field": ""
},
"datamodel_filter": [],
"datamodel_filter_clauses": null,
"description": "",
"enabled": false,
"entity_filter_field": "",
"entity_split_field": "",
"entity_statop": "avg",
"entity_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": [
{
"dynamic_param": null,
"severity_color": "#B50101",
"severity_color_light": "#E5A6A6",
"severity_label": "critical",
"severity_label_localized": null,
"severity_value": 6.0,
"threshold_value": 0.0
},
{
"dynamic_param": null,
"severity_color": "#F26A35",
"severity_color_light": "#FBCBB9",
"severity_label": "high",
"severity_label_localized": null,
"severity_value": 5.0,
"threshold_value": 20.0
},
{
"dynamic_param": null,
"severity_color": "#FCB64E",
"severity_color_light": "#FEE6C1",
"severity_label": "medium",
"severity_label_localized": null,
"severity_value": 4.0,
"threshold_value": 40.0
},
{
"dynamic_param": null,
"severity_color": "#FFE98C",
"severity_color_light": "#FFF4C5",
"severity_label": "low",
"severity_label_localized": null,
"severity_value": 3.0,
"threshold_value": 60.0
},
{
"dynamic_param": null,
"severity_color": "#99D18B",
"severity_color_light": "#DCEFD7",
"severity_label": "normal",
"severity_label_localized": null,
"severity_value": 2.0,
"threshold_value": 80.0
}
]
},
"fill_gaps": "null_value",
"gap_custom_alert_value": 0.0,
"gap_severity": "unknown",
"gap_severity_color": "#CCCCCC",
"gap_severity_color_light": "#EEEEEE",
"gap_severity_value": "-1",
"is_filter_entities_to_service": false,
"is_split_by_entity": false,
"key": "SHKPI-da-itsi-cp-splunk-observability-application-error-rate",
"kpi_base_search": "",
"kpi_template_kpi_id": "",
"kpi_threshold_template_id": "",
"metric_qualifier": null,
"metric_search_spec": {
"metric_index": "",
"metric_name": ""
},
"search": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)` | stats latest(health_score) AS aggregate",
"search_aggregate": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)` | stats latest(health_score) AS aggregate",
"search_alert": "",
"search_alert_earliest": "15",
"search_alert_entities": "",
"search_buckets": "",
"search_entities": null,
"search_occurrences": 1.0,
"search_time_compare": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)` [| stats count | addinfo | eval search= \"earliest=\" + tostring(info_min_time-(info_max_time-info_min_time))+ \" latest=\" + tostring(info_max_time) |fields search] | addinfo | eval bucket=if(_time<info_max_time-((info_max_time-info_min_time)/2), \"last_window\", \"current_window\") | stats avg(health_score) AS aggregate BY bucket | reverse | delta aggregate AS window_delta | search bucket=current_window | eval window_direction=if(window_delta >0, \"increase\", if(window_delta < 0, \"decrease\", \"none\"))",
"search_time_series": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)` | timechart avg(health_score) AS aggregate",
"search_time_series_aggregate": "`get_full_itsi_summary_service_health_events(da-itsi-cp-splunk-observability-application-error-rate)` | timechart avg(health_score) AS aggregate",
"search_time_series_entities": "",
"search_type": "adhoc",
"service_title": "Application Error Rate",
"threshold_eval": "",
"threshold_field": "aggregate",
"time_policies": {
"policies": {
"default_policy": {
"aggregate_thresholds": {
"base_severity_color": "#AED3E5",
"base_severity_color_light": "#E3F0F6",
"base_severity_label": "info",
"base_severity_value": 1.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": []
},
"entity_thresholds": {
"base_severity_color": "#AED3E5",
"base_severity_color_light": "#E3F0F6",
"base_severity_label": "info",
"base_severity_value": 1.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": []
},
"policy_type": "static",
"time_blocks": [],
"title": "Default"
}
}
},
"title": "ServiceHealthScore",
"trending_ad": {
"sensitivity": 8
},
"type": "service_health",
"tz_offset": null,
"unit": "",
"urgency": 11.0,
"use_time_policies": false
},
{
"adaptive_thresholding_training_window": "-7d",
"adaptive_thresholds_is_enabled": true,
"aggregate_eval": null,
"aggregate_statop": "avg",
"aggregate_threshold_alert_enabled": false,
"aggregate_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 99,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "APMErrorRate",
"render_boundary_max": 99.0,
"render_boundary_min": 0.0,
"threshold_levels": [
{
"dynamic_param": 0.0,
"severity_color": "#99D18B",
"severity_color_light": "#DCEFD7",
"severity_label": "normal",
"severity_label_localized": "Normal",
"severity_value": 2.0,
"threshold_value": 0.0
},
{
"dynamic_param": 0.0,
"severity_color": "#FFE98C",
"severity_color_light": "#FFF4C5",
"severity_label": "low",
"severity_label_localized": "Low",
"severity_value": 3.0,
"threshold_value": 5.0
},
{
"dynamic_param": 0.0,
"severity_color": "#FCB64E",
"severity_color_light": "#FEE6C1",
"severity_label": "medium",
"severity_label_localized": "Medium",
"severity_value": 4.0,
"threshold_value": 25.0
},
{
"dynamic_param": 0.0,
"severity_color": "#F26A35",
"severity_color_light": "#FBCBB9",
"severity_label": "high",
"severity_label_localized": "High",
"severity_value": 5.0,
"threshold_value": 75.0
},
{
"dynamic_param": 0.0,
"severity_color": "#B50101",
"severity_color_light": "#E5A6A6",
"severity_label": "critical",
"severity_label_localized": "Critical",
"severity_value": 6.0,
"threshold_value": 90.0
}
]
},
"aggregate_thresholds_alert_enabled": false,
"aggregate_thresholds_custom_alert_enabled": false,
"aggregate_thresholds_custom_alert_rules": [],
"alert_eval": null,
"alert_lag": "30",
"alert_on": "both",
"alert_period": "5",
"anomaly_detection_alerting_enabled": false,
"anomaly_detection_is_enabled": false,
"anomaly_detection_sensitivity": null,
"anomaly_detection_training_window": null,
"backfill_earliest_time": "-7d",
"backfill_enabled": false,
"base_search": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment",
"base_search_id": null,
"base_search_metric": null,
"cohesive_ad": {
"sensitivity": 8
},
"cohesive_anomaly_detection_is_enabled": false,
"datamodel": {
"datamodel": "",
"field": "",
"object": "",
"owner_field": ""
},
"datamodel_filter": [],
"datamodel_filter_clauses": null,
"description": "error_rate (percentage): Normal <=0.01 < Low < 25 < Medium < 50 < High < 90 < Critical",
"enabled": true,
"entity_filter_field": "sf_service",
"entity_split_field": "sf_service",
"entity_statop": "avg",
"entity_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 99,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "APMErrorRate",
"render_boundary_max": 99.0,
"render_boundary_min": 0.0,
"threshold_levels": [
{
"dynamic_param": 0.0,
"severity_color": "#99D18B",
"severity_color_light": "#DCEFD7",
"severity_label": "normal",
"severity_label_localized": "Normal",
"severity_value": 2.0,
"threshold_value": 0.0
},
{
"dynamic_param": 0.0,
"severity_color": "#FFE98C",
"severity_color_light": "#FFF4C5",
"severity_label": "low",
"severity_label_localized": "Low",
"severity_value": 3.0,
"threshold_value": 5.0
},
{
"dynamic_param": 0.0,
"severity_color": "#FCB64E",
"severity_color_light": "#FEE6C1",
"severity_label": "medium",
"severity_label_localized": "Medium",
"severity_value": 4.0,
"threshold_value": 25.0
},
{
"dynamic_param": 0.0,
"severity_color": "#F26A35",
"severity_color_light": "#FBCBB9",
"severity_label": "high",
"severity_label_localized": "High",
"severity_value": 5.0,
"threshold_value": 75.0
},
{
"dynamic_param": 0.0,
"severity_color": "#B50101",
"severity_color_light": "#E5A6A6",
"severity_label": "critical",
"severity_label_localized": "Critical",
"severity_value": 6.0,
"threshold_value": 90.0
}
]
},
"fill_gaps": "null_value",
"gap_custom_alert_value": 0.0,
"gap_severity": "unknown",
"gap_severity_color": "#CCCCCC",
"gap_severity_color_light": "#EEEEEE",
"gap_severity_value": "-1",
"is_filter_entities_to_service": true,
"is_split_by_entity": true,
"key": "da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8",
"kpi_base_search": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ]",
"kpi_template_kpi_id": "",
"kpi_threshold_template_id": "",
"metric_qualifier": null,
"metric_search_spec": {
"metric_index": "",
"metric_name": ""
},
"search": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_entity(avg, APMErrorRate, \"sf_service\")` | eval sec_grp = \"default_itsi_security_group\" | `match_entities(sf_service, sec_grp)` | eval serviceid = \"da-itsi-cp-splunk-observability-application-error-rate\" | `aggregate_entity_into_service(avg)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8, true, true, true)` | eval kpi=\"Application Error Rate\", urgency=\"5.0\", alert_period=\"5\", serviceid=\"da-itsi-cp-splunk-observability-application-error-rate\" | `assess_urgency` | `gettime`",
"search_aggregate": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_single_value(avg, avg, APMErrorRate, \"sf_service\", 15)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8)`",
"search_alert": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_entity(avg, APMErrorRate, \"sf_service\")` | eval sec_grp = \"default_itsi_security_group\" | `match_entities(sf_service, sec_grp)` | eval serviceid = \"da-itsi-cp-splunk-observability-application-error-rate\" | `aggregate_entity_into_service(avg)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8, true, true, true)` | eval kpi=\"Application Error Rate\", urgency=\"5.0\", alert_period=\"5\", serviceid=\"da-itsi-cp-splunk-observability-application-error-rate\" | `assess_urgency` | `gettime`",
"search_alert_earliest": "15",
"search_alert_entities": "",
"search_buckets": "",
"search_entities": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_single_value(avg, avg, APMErrorRate, \"sf_service\", 15)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8)`",
"search_occurrences": 1.0,
"search_time_compare": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_and_compare(avg, avg, APMErrorRate, \"sf_service\", 15)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8)`",
"search_time_series": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_entity_time_series(avg, APMErrorRate, \"sf_service\", 15)` | `aggregate_entity_into_service_time_series(avg, 15)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8)`",
"search_time_series_aggregate": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_entity_time_series(avg, APMErrorRate, \"sf_service\", 15)` | `aggregate_entity_into_service_time_series(avg, 15)` | `assess_severity(da-itsi-cp-splunk-observability-application-error-rate, da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8)`",
"search_time_series_entities": "| mstats avg(*) span=5m WHERE `itsi-cp-observability-indexes` AND sf_environment=\"*\" AND sf_streamLabel=\"*\" GROUPBY sf_environment sf_service sf_streamLabel sf_organizationID sf_realm \n| rename avg(service.request.count) as avg.service.request.count \n| eval non_error_counts = if(sf_streamLabel=\"non_error_counts\",'avg.service.request.count',0) \n| eval error_counts = if(sf_streamLabel=\"error_counts\", 'avg.service.request.count',0) \n| eval total = (if(isnotnull(error_counts),error_counts,0) + if(isnotnull(non_error_counts),non_error_counts,0)) \n| eval timespan = 300000 \n| eval errorRate = if(error_counts=0,(total/timespan),((total/error_counts)/timespan)) \n| stats avg(errorRate) as APMErrorRate by sf_service sf_environment | search [ | rest splunk_server=local report_as=text service_id=da-itsi-cp-splunk-observability-application-error-rate kpi_id=da-itsi-cp-splunk-observability-6ef15807768244d0954a6dc8 entity_id_fields=sf_service entity_alias_filtering_fields=sf_service search_type=adhoc \"/servicesNS/nobody/SA-ITOA/itoa_interface/generate_entity_filter\" | return $value ] | `aggregate_raw_into_limited_entity_time_series(avg, APMErrorRate, \"sf_service\", 15)`",
"search_type": "adhoc",
"service_title": "Application Error Rate",
"threshold_eval": null,
"threshold_field": "APMErrorRate",
"time_policies": {
"policies": {
"default_policy": {
"aggregate_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": []
},
"entity_thresholds": {
"base_severity_color": "#99D18B",
"base_severity_color_light": "#DCEFD7",
"base_severity_label": "normal",
"base_severity_value": 2.0,
"gauge_max": 100,
"gauge_min": 0,
"is_max_static": false,
"is_min_static": true,
"metric_field": "count",
"render_boundary_max": 100.0,
"render_boundary_min": 0.0,
"threshold_levels": []
},
"policy_type": "static",
"time_blocks": [],
"title": "Default"
}
}
},
"title": "Application Error Rate",
"trending_ad": {
"sensitivity": 8
},
"type": "kpis_primary",
"tz_offset": null,
"unit": "%",
"urgency": 5.0,
"use_time_policies": true
}
],
"service_tags": {
"tags": [],
"template_tags": []
},
"service_template_id": "",
"services_depending_on_me": [
{
"kpis_depending_on": [
"SHKPI-da-itsi-cp-splunk-observability-application-error-rate"
],
"service_id": "da-itsi-cp-splunk-observability-application-performance-monitoring"
}
],
"services_depends_on": [],
"team_id": "default_itsi_security_group",
"title": "Application Error Rate",
"version": "0.0.38"
}