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.
87 lines
3.9 KiB
87 lines
3.9 KiB
{
|
|
"alert_lag": 30,
|
|
"alert_period": "5",
|
|
"base_search": "| mstats latest(\"instance/cpu/utilization\") as gcp_compute_cpu_utilization, sum(\"instance/network/received_bytes_count\") as gcp_compute_network_bytes_in, sum(\"instance/network/sent_bytes_count\") as gcp_compute_network_bytes_out, sum(\"instance/disk/write_bytes_count\") as gcp_compute_disk_write_bytes, sum(\"instance/disk/read_bytes_count\") as gcp_compute_disk_read_bytes where \"instance_id\"=* AND `itsi-cp-observability-indexes` by instance_id, project_id, instance_name span=15m | eval gcp_cpu_percent=gcp_compute_cpu_utilization*100 | eval ITSIUniqueId = project_id + instance_name | rename instance_name as InstanceName | table _time, ITSIUniqueId, InstanceName, instance_id, gcp_cpu_percent, gcp_compute_network_bytes_in, gcp_compute_network_bytes_out, gcp_compute_disk_write_bytes, gcp_compute_disk_read_bytes",
|
|
"description": "This gets SIM metrics in the GCP Compute class from Cloudwatch.",
|
|
"entity_filter_field": "ITSIUniqueId",
|
|
"entity_split_field": "ITSIUniqueId",
|
|
"is_filter_entities_to_service": true,
|
|
"is_split_by_entity": true,
|
|
"key": "da-itsi-cp-splunk-observability-sim-cloud-gcp-compute",
|
|
"metric_qualifier": "",
|
|
"metrics": [
|
|
{
|
|
"aggregate_statop": "avg",
|
|
"entity_statop": "avg",
|
|
"fill_gaps": "null_value",
|
|
"gap_custom_alert_value": "0",
|
|
"gap_severity": "unknown",
|
|
"gap_severity_color": "#CCCCCC",
|
|
"gap_severity_color_light": "#EEEEEE",
|
|
"gap_severity_value": "-1",
|
|
"key": "gcp-compute-cpu-utilization",
|
|
"threshold_field": "gcp_cpu_percent",
|
|
"title": "GCP Compute CPU Utilization",
|
|
"unit": "%"
|
|
},
|
|
{
|
|
"aggregate_statop": "avg",
|
|
"entity_statop": "avg",
|
|
"fill_gaps": "null_value",
|
|
"gap_custom_alert_value": "0",
|
|
"gap_severity": "unknown",
|
|
"gap_severity_color": "#CCCCCC",
|
|
"gap_severity_color_light": "#EEEEEE",
|
|
"gap_severity_value": "-1",
|
|
"key": "gcp-disk-read-bytes",
|
|
"threshold_field": "gcp_compute_disk_read_bytes",
|
|
"title": "GCP Disk Read Bytes",
|
|
"unit": "b"
|
|
},
|
|
{
|
|
"aggregate_statop": "avg",
|
|
"entity_statop": "avg",
|
|
"fill_gaps": "null_value",
|
|
"gap_custom_alert_value": "0",
|
|
"gap_severity": "unknown",
|
|
"gap_severity_color": "#CCCCCC",
|
|
"gap_severity_color_light": "#EEEEEE",
|
|
"gap_severity_value": "-1",
|
|
"key": "gcp-disk-write-bytes",
|
|
"threshold_field": "gcp_compute_disk_write_bytes",
|
|
"title": "GCP Disk Write Bytes",
|
|
"unit": "b"
|
|
},
|
|
{
|
|
"aggregate_statop": "avg",
|
|
"entity_statop": "avg",
|
|
"fill_gaps": "null_value",
|
|
"gap_custom_alert_value": "0",
|
|
"gap_severity": "unknown",
|
|
"gap_severity_color": "#CCCCCC",
|
|
"gap_severity_color_light": "#EEEEEE",
|
|
"gap_severity_value": "-1",
|
|
"key": "gcp-network-bytes-in",
|
|
"threshold_field": "gcp_compute_network_bytes_in",
|
|
"title": "GCP Network Bytes In",
|
|
"unit": "b"
|
|
},
|
|
{
|
|
"aggregate_statop": "avg",
|
|
"entity_statop": "avg",
|
|
"fill_gaps": "null_value",
|
|
"gap_custom_alert_value": "0",
|
|
"gap_severity": "unknown",
|
|
"gap_severity_color": "#CCCCCC",
|
|
"gap_severity_color_light": "#EEEEEE",
|
|
"gap_severity_value": "-1",
|
|
"key": "gcp-network-bytes-out",
|
|
"threshold_field": "gcp_compute_network_bytes_out",
|
|
"title": "GCP Network Bytes Out",
|
|
"unit": "b"
|
|
}
|
|
],
|
|
"search_alert_earliest": "15",
|
|
"title": "SIM_cloud_gcp_compute",
|
|
"version": "0.0.38"
|
|
} |