http sink for fly shipper

   INFO Main child exited normally with code: 78
   INFO Starting clean up.
   WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)
  2024/01/24 16:37:59 listening on [fdaa:2:2aac:a7b:140:bc01:abb3:2]:22 (DNS: [fdaa::3]:53)
  [    2.288026] reboot: Restarting system
  machine did not have a restart policy, defaulting to restart
  [    0.045371] PCI: Fatal: No config space access function found
   INFO Starting init (commit: 8995e367)...
   INFO Preparing to run: `bash start-fly-log-transporter.sh` as root
   INFO [fly api proxy] listening at /.fly/api
  2024/01/24 16:38:01 listening on [fdaa:2:2aac:a7b:140:bc01:abb3:2]:22 (DNS: [fdaa::3]:53)
  Configured sinks:
  http
  2024-01-24T16:38:01.643586Z  INFO vector::app: Log level is enabled. level="vector=info,codec=info,vrl=info,file_source=info,tower_limit=trace,rdkafka=info,buffers=info,lapin=info,kube=info"
  2024-01-24T16:38:01.654376Z  INFO vector::app: Loading configs. paths=["/etc/vector/vector.toml", "/etc/vector/sinks"]
  2024-01-24T16:38:01.686785Z ERROR vector::cli: Configuration error. error=invalid format
  in `sinks.http`

toml file:

# fly.toml app configuration file generated for gearbox-logger on 2024-01-24T11:05:03+04:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

primary_region = "ams"

[build]
  image = "ghcr.io/superfly/fly-log-shipper:latest"


[http_service]
  internal_port = 8080
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]

[[vm]]
  cpu_kind = "shared"
  cpus = 1
  memory_mb = 512

Getting error:

Did you set the secrets specified for the HTTP section GitHub - superfly/fly-log-shipper: Ship logs from fly to other providers? The empty variables might be the reason for the invalid format error vector is throwing.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.