sources: laravel_logs: type: file include: - /var/www/html/storage/logs/laravel.log read_from: beginning transforms: laravel_json: type: remap inputs: - laravel_logs source: | . = parse_json!(.message) .service = "boboko-app" .env = "${APP_ENV}" sinks: victorialogs: type: http inputs: - laravel_json uri: "${VICTORIALOGS_ENDPOINT}/insert/jsonline?_stream_fields=service,env,channel,level_name&_msg_field=message&_time_field=datetime" encoding: codec: json framing: method: newline_delimited compression: gzip auth: strategy: basic user: "${VICTORIALOGS_USER}" password: "${VICTORIALOGS_PASSWORD}" batch: max_bytes: 1048576 timeout_secs: 5 buffer: type: disk max_size: 268435488 when_full: block healthcheck: enabled: false