benzai Logging operator Flows
Cluster Flows
in logging operator, flows or clusterflows allow the user to route application logs to specific output.
fluetnd flow
apiVersion: logging.banzaicloud.io/v1beta1
kind: Flow
metadata:
name: es-flow
spec:
localOutputRefs:
- es-output
syslongNG flow
apiVersion: logging.banzaicloud.io/v1beta1
kind: SyslogNGFlow
metadata:
name: flow-all
namespace: default
spec:
match:
regexp:
value: json.kubernetes.labels.app.kubernetes.io/instance
pattern: "*"
type: glob
localOutputRefs:
- syslog-output