Edge Delta config.yaml
Example ConfigMap
less than a minute
The following ConfigMap can be used along with this agent manifest to manage the Edge Delta agent using a local configuration.
apiVersion: v1
data:
config.yml: |
version: v3
settings:
tag: "1"
log:
level: debug
links:
- from: kubernetes_logs
to: failure_monitoring
- from: kubernetes_logs
to: negative_sentiment_monitoring
- from: kubernetes_logs
to: pattern_analytics
- from: kubernetes_logs
to: error_monitoring
- from: kubernetes_logs
to: exception_monitoring
- from: kubernetes_logs
to: ed_archive
- from: error_monitoring
to: ed_metrics
- from: exception_monitoring
to: ed_metrics
- from: failure_monitoring
to: ed_metrics
- from: negative_sentiment_monitoring
to: ed_metrics
- from: pattern_analytics
to: ed_patterns
- from: demo_input
to: error_monitoring
- from: demo_input
to: exception_monitoring
- from: demo_input
to: failure_monitoring
- from: demo_input
to: negative_sentiment_monitoring
- from: demo_input
to: pattern_analytics
- from: demo_input
to: ed_archive
nodes:
- name: kubernetes_logs
type: kubernetes_input
include:
- k8s_namespace=.*
exclude:
- k8s_namespace=kube-system
- k8s_namespace=kube-public
- k8s_namespace=kube-node-lease
- k8s_pod_name=edgedelta
- k8s_pod_name=prometheus
- k8s_pod_name=promtail
- k8s_pod_name=node-exporter
- name: error_monitoring
type: log_to_metric
pattern: (?i)error
- name: exception_monitoring
type: log_to_metric
pattern: (?i)exception
- name: failure_monitoring
type: log_to_metric
pattern: (?i)fail
- name: negative_sentiment_monitoring
type: log_to_metric
pattern: (?i)(exception|fail|timeout|broken|caught|denied|abort|insufficient|killed|killing|malformed|unsuccessful|outofmemory|panic|undefined)
- name: ed_archive
type: ed_archive_output
- name: ed_metrics
type: ed_metrics_output
- name: pattern_analytics
type: log_to_pattern
- name: ed_patterns
type: ed_patterns_output
- name: demo_input
type: demo_input
speed: 1s
error_interval: 1s
error_count: 1
kind: ConfigMap
metadata:
creationTimestamp: null
name: edgedelta-agent-config
namespace: edgedelta