exporter/logzioexporter/example/logs.yaml (32 lines of code) (raw):

receivers: filelog: include: [ "/private/var/log/*.log" ] # MacOs system logs include_file_name: false include_file_path: true operators: - type: move from: attributes["log.file.path"] to: attributes["log_file_path"] attributes: type: <<your-logzio-type>> processors: batch: send_batch_size: 10000 timeout: 1s resourcedetection/system: detectors: [ "system" ] system: hostname_sources: [ "os" ] exporters: logzio/logs: account_token: "LOGZIOlogsTOKEN" region: "us" service: pipelines: logs: receivers: [filelog] processors: [ resourcedetection/system, batch ] exporters: [logzio/logs] telemetry: logs: level: "debug"