Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save taylanisikdemir/76dd8b0a65b3456d51627c57847126f8 to your computer and use it in GitHub Desktop.
Save taylanisikdemir/76dd8b0a65b3456d51627c57847126f8 to your computer and use it in GitHub Desktop.
version: v2
agent_settings:
tag: RBC-demo
log:
level: debug
inputs:
files:
- labels: "errorcheck"
path: "/var/log/containers/flog*.log"
outputs:
streams:
- name: elastic
type: elastic
# Zach please fill this properly
endpoint: "<elastic endpoint>"
processors:
regexes:
- name: error
pattern: HTTP/1.\d” 5
trigger_thresholds:
anomaly_probability_percentage: 50
workflows:
error-anomaly-workflow:
input_labels:
- errorcheck
processors:
- error
destinations:
- elastic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment