Skip to content

Commit

Permalink
removes query and default index pattern from manifest, updates descri…
Browse files Browse the repository at this point in the history
…ptions
  • Loading branch information
blaklaybul committed Sep 16, 2020
1 parent 1288b8f commit 5f01331
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 239 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
{
"id": "metrics_ui_hosts",
"title": "Metrics Hosts",
"description": "Detect anomalous memory, cpu, and network behavior on hosts.",
"description": "Detect anomalous memory and network behavior on hosts.",
"type": "Metricbeat Data",
"logoFile": "logo.json",
"defaultIndexPattern": "metricbeat-*",
"query": {
"bool": {
"must": [
{"exists": {"field": "system"}}
],
"must_not": [
{"bool": {"filter": [{"exists":{"field": "kubernetes"}}]}},
{"bool": {"filter": [{"exists":{"field": "docker"}}]}}
]
}
},
"jobs": [
{
"id": "hosts_cpu_usage",
"file": "hosts_cpu_usage.json"
},
{
"id": "hosts_memory_usage",
"file": "hosts_memory_usage.json"
Expand All @@ -35,11 +19,6 @@
}
],
"datafeeds": [
{
"id": "datafeed-hosts_cpu_usage",
"file": "datafeed_hosts_cpu_usage.json",
"job_id": "hosts_cpu_usage"
},
{
"id": "datafeed-hosts_memory_usage",
"file": "datafeed_hosts_memory_usage.json",
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"id": "metrics_ui_k8s",
"title": "Metrics Kubernetes",
"description": "Detect anomalous memory, cpu, and network behavior on kubernetes pods.",
"description": "Detect anomalous memory and network behavior on Kubernetes pods.",
"type": "Metricbeat Data",
"logoFile": "logo.json",
"defaultIndexPattern": "metricbeat-*",
"query": {
"bool": {
"filter": [
{"exists": {"field": "kubernetes"}},
{"term": {"event.module": "kubernetes"}}
]
}
},
"jobs": [
{
"id": "k8s_cpu_usage",
"file": "k8s_cpu_usage.json"
},
{
"id": "k8s_memory_usage",
"file": "k8s_memory_usage.json"
Expand All @@ -32,11 +19,6 @@
}
],
"datafeeds": [
{
"id": "datafeed-k8s_cpu_usage",
"file": "datafeed_k8s_cpu_usage.json",
"job_id": "k8s_cpu_usage"
},
{
"id": "datafeed-k8s_memory_usage",
"file": "datafeed_k8s_memory_usage.json",
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"k8s",
"metrics"
],
"description": "Metrics: Kubernetes - Identify unusual spikes in memory usage across kubernetes pods.",
"description": "Metrics: Kubernetes - Identify unusual spikes in memory usage across Kubernetes pods.",
"analysis_config": {
"bucket_span": "15m",
"detectors": [
{
"detector_description": "max('kubernetes.pod.memory.usage.node.pct') partitionfield='kubernetes.namespace'",
"detector_description": "max('kubernetes.pod.memory.usage.node.pct')",
"function": "max",
"field_name": "kubernetes.pod.memory.usage.node.pct",
"partition_field_name": "kubernetes.namespace",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"job_type": "anomaly_detector",
"description": "Metrics: Kubernetes - Identify unusual spikes in inbound traffic across kubernetes pods.",
"description": "Metrics: Kubernetes - Identify unusual spikes in inbound traffic across Kubernetes pods.",
"groups": [
"k8s",
"metrics"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"job_type": "anomaly_detector",
"description": "Metrics: Kubernetes - Identify unusual spikes in outbound traffic across kubernetes pods.",
"description": "Metrics: Kubernetes - Identify unusual spikes in outbound traffic across Kubernetes pods.",
"groups": [
"k8s",
"metrics"
Expand Down

0 comments on commit 5f01331

Please sign in to comment.