receivers: filelog: include: [ /opt/parser/*.log ] start_at: beginning operators: - type: add field: attributes.sev value: info - type: json_parser - type: severity_parser parse_from: attributes.sev mapping: fatal: emergency info4: notice - type: add id: add5 field: attributes.Severity to: info exporters: file/file1: path: /var/log/collector/logging1/otlp.json file/file2: path: /var/log/collector/logging2/otlp.json file/file3: path: /var/log/collector/logging3/otlp.json logging: loglevel: debug processors: routing: default_exporters: [file/file3] error_mode: ignore table: - statement: route() where resource.attributes["Severity"] == "err" exporters: [file/file1] - statement: route() where resource.attributes["Severity"] == "info" exporters: [file/file2] service: pipelines: logs: receivers: [filelog] processors: [routing] exporters: [file/file1, file/file2, file/file3, logging]