📜  filebeat condition.or - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:51.504000             🧑  作者: Mango

代码示例1
output.elasticsearch:
  hosts: ["http://172.17.91.21:9200"]
  index: "logs-%{[beat.version]}-%{+yyyy.MM.dd}"
  indices:
    - index: "ftjf-test-jar_logs-${ES_DATE}-info"
      when:
        and:
        - equals:
            fields.type: "jar"
        - contains:
            message: "INFO"