ciis0 / ciis0.github.io

https://ciis0.de/
0 stars 1 forks source link

How is OCP4's `detectMultilineErrors` implemented? #2

Open ciis0 opened 1 year ago

ciis0 commented 1 year ago
  1. detectMultilineErrors https://github.com/openshift/cluster-logging-operator/blob/54a9918fb40a4dbb163e4661e58ba06e1962cf1c/internal/generator/fluentd/pipeline_to_output.go#L65-L71
  2. matchMultilineDetectException https://github.com/openshift/cluster-logging-operator/blob/0516fdfb40689381d5c4f216db7c85692c247737/internal/generator/fluentd/multiline_detect_exceptions.go#L4-L12
  3. @type detect_exceptions https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions/blob/5a3715f0b6b1edd536ca9a5cab3f7ab1be53dedb/lib/fluent/plugin/out_detect_exceptions.rb#L42
  4. the rules https://github.com/GoogleCloudPlatform/fluent-plugin-detect-exceptions/blob/5a3715f0b6b1edd536ca9a5cab3f7ab1be53dedb/lib/fluent/plugin/exception_detector.rb#L54