Sink

Represents a sink configuration. Used to be referenced in LogConfig/ClusterLogConfig.

Example

  1. apiVersion: loggie.io/v1beta1
  2. kind: Sink
  3. metadata:
  4. name: default
  5. spec:
  6. sink: |
  7. type: elasticsearch
  8. index: "loggie"
  9. hosts: ["elasticsearch-master.default.svc:9200"]

spec.sink

Use the “|” symbol to indicate a sink configuration, which is consistent with the configuration in Pipelines.