这是indexloc提供的服务,不要输入任何密码
Skip to content

Vector logs sent to Papertrail display program name "vector" #7758

@swrobel

Description

@swrobel

Description of problem

This was previously reported in #4803 yet seems to behave identically to what was reported there:

Image

Steps to reproduce

  1. Set up vector log sink to papertrail
  2. Observe that logs show "vector" as the program name

dokku report $APP_NAME

-----> uname: Linux metasurf 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
-----> memory:
                      total        used        free      shared  buff/cache   available
       Mem:            3819        1357         638         147        2265        2461
       Swap:              0           0           0
-----> disk utilization:
       Filesystem      Size  Used Avail Use% Mounted on
       /dev/sda1        75G   24G   49G  33% /
       /dev/sda15      253M  6.2M  246M   3% /boot/efi
-----> disk inode utilization:
       Filesystem     Inodes IUsed IFree IUse% Mounted on
       /dev/sda1        4.7M  226K  4.5M    5% /
       /dev/sda15          0     0     0     - /boot/efi
-----> docker version:
       Client: Docker Engine - Community
        Version:           28.2.2
        API version:       1.50
        Go version:        go1.24.3
        Git commit:        e6534b4
        Built:             Fri May 30 12:07:27 2025
        OS/Arch:           linux/amd64
        Context:           default

       Server: Docker Engine - Community
        Engine:
         Version:          28.2.2
         API version:      1.50 (minimum version 1.24)
         Go version:       go1.24.3
         Git commit:       45873be
         Built:            Fri May 30 12:07:27 2025
         OS/Arch:          linux/amd64
         Experimental:     false
        containerd:
         Version:          1.7.27
         GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
        runc:
         Version:          1.2.5
         GitCommit:        v1.2.5-0-g59923ef
        docker-init:
         Version:          0.19.0
         GitCommit:        de40ad0
-----> docker daemon info:
       Client: Docker Engine - Community
        Version:    28.2.2
        Context:    default
        Debug Mode: true
        Plugins:
         buildx: Docker Buildx (Docker Inc.)
           Version:  v0.24.0
           Path:     /usr/libexec/docker/cli-plugins/docker-buildx
         compose: Docker Compose (Docker Inc.)
           Version:  v2.36.2
           Path:     /usr/libexec/docker/cli-plugins/docker-compose

       Server:
        Containers: 7
         Running: 7
         Paused: 0
         Stopped: 0
        Images: 14
        Server Version: 28.2.2
        Storage Driver: overlay2
         Backing Filesystem: extfs
         Supports d_type: true
         Using metacopy: false
         Native Overlay Diff: true
         userxattr: false
        Logging Driver: json-file
        Cgroup Driver: systemd
        Cgroup Version: 2
        Plugins:
         Volume: local
         Network: bridge host ipvlan macvlan null overlay
         Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
        CDI spec directories:
         /etc/cdi
         /var/run/cdi
        Swarm: inactive
        Runtimes: io.containerd.runc.v2 runc
        Default Runtime: runc
        Init Binary: docker-init
        containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
        runc version: v1.2.5-0-g59923ef
        init version: de40ad0
        Security Options:
         apparmor
         seccomp
          Profile: builtin
         cgroupns
        Kernel Version: 6.8.0-60-generic
        Operating System: Ubuntu 24.04.2 LTS
        OSType: linux
        Architecture: x86_64
        CPUs: 3
        Total Memory: 3.73GiB
        Name: metasurf
        ID: 5f6533e4-4cae-486c-a37f-1efb00b2c8d0
        Docker Root Dir: /var/lib/docker
        Debug Mode: false
         File Descriptors: 76
         Goroutines: 92
         System Time: 2025-06-13T21:30:09.424710785Z
         EventsListeners: 2
        Experimental: false
        Insecure Registries:
         ::1/128
         127.0.0.0/8
        Live Restore Enabled: false

-----> herokuish version:
       herokuish: v0.11.0
       buildpacks:
         heroku-buildpack-multi     v1.2.0
         heroku-buildpack-ruby      v309
         heroku-buildpack-nodejs    v294
         heroku-buildpack-clojure   v91
         heroku-buildpack-python    v287
         heroku-buildpack-java      v75
         heroku-buildpack-gradle    v40
         heroku-buildpack-scala     v98
         heroku-buildpack-php       v267
         heroku-buildpack-go        v207
         heroku-buildpack-nginx     v26
         buildpack-null             v3
-----> dokku version: dokku version 0.35.20
-----> dokku-event-listener version: v0.17.2
-----> dokku-update version: dokku-update v0.9.6
-----> docker-container-healthchecker version: v0.14.0
-----> docker-image-labeler version: v0.8.1
-----> git version: git version 2.43.0
-----> lambda-builder version:        v0.9.1
-----> netrc version: v0.10.2
 !     pack binary is not available
-----> plugn version: plugn: v0.16.0
-----> sigil version: v0.11.4
-----> sshcommand version: sshcommand v0.20.0
-----> dokku plugins:
         00_dokku-standard    0.35.20 enabled    dokku core standard plugin
         20_events            0.35.20 enabled    dokku core events logging plugin
         app-json             0.35.20 enabled    dokku core app-json plugin
         apps                 0.35.20 enabled    dokku core apps plugin
         builder              0.35.20 enabled    dokku core builder plugin
         builder-dockerfile   0.35.20 enabled    dokku core builder-dockerfile plugin
         builder-herokuish    0.35.20 enabled    dokku core builder-herokuish plugin
         builder-lambda       0.35.20 enabled    dokku core builder-lambda plugin
         builder-nixpacks     0.35.20 enabled    dokku core builder-nixpacks plugin
         builder-null         0.35.20 enabled    dokku core builder-null plugin
         builder-pack         0.35.20 enabled    dokku core builder-pack plugin
         buildpacks           0.35.20 enabled    dokku core buildpacks plugin
         caddy-vhosts         0.35.20 enabled    dokku core caddy-vhosts plugin
         certs                0.35.20 enabled    dokku core certificate management plugin
         checks               0.35.20 enabled    dokku core checks plugin
         common               0.35.20 enabled    dokku core common plugin
         config               0.35.20 enabled    dokku core config plugin
         cron                 0.35.20 enabled    dokku core cron plugin
         docker-options       0.35.20 enabled    dokku core docker-options plugin
         domains              0.35.20 enabled    dokku core domains plugin
         enter                0.35.20 enabled    dokku core enter plugin
         git                  0.35.20 enabled    dokku core git plugin
         haproxy-vhosts       0.35.20 enabled    dokku core haproxy-vhosts plugin
         letsencrypt          0.20.4 enabled    Automated installation of let's encrypt TLS certificates
         logs                 0.35.20 enabled    dokku core logs plugin
         network              0.35.20 enabled    dokku core network plugin
         nginx-vhosts         0.35.20 enabled    dokku core nginx-vhosts plugin
         openresty-vhosts     0.35.20 enabled    dokku core openresty-vhosts plugin
         plugin               0.35.20 enabled    dokku core plugin plugin
         ports                0.35.20 enabled    dokku core ports plugin
         postgres             1.44.0 enabled    dokku postgres service plugin
         proxy                0.35.20 enabled    dokku core proxy plugin
         ps                   0.35.20 enabled    dokku core ps plugin
         redis                1.40.1 enabled    dokku redis service plugin
         registry             0.35.20 enabled    dokku core registry plugin
         repo                 0.35.20 enabled    dokku core repo plugin
         resource             0.35.20 enabled    dokku core resource plugin
         run                  0.35.20 enabled    dokku core run plugin
         scheduler            0.35.20 enabled    dokku core scheduler plugin
         scheduler-docker-local 0.35.20 enabled    dokku core scheduler-docker-local plugin
         scheduler-k3s        0.35.20 enabled    dokku core scheduler-k3s plugin
         scheduler-null       0.35.20 enabled    dokku core scheduler-null plugin
         shell                0.35.20 enabled    dokku core shell plugin
         ssh-keys             0.35.20 enabled    dokku core ssh-keys plugin
         storage              0.35.20 enabled    dokku core storage plugin
         trace                0.35.20 enabled    dokku core trace plugin
         traefik-vhosts       0.35.20 enabled    dokku core traefik-vhosts plugin
=====> metasurf app-json information
       App json computed selected:    app.json
       App json global selected:      app.json
       App json selected:
=====> metasurf app information
       App created at:                1746805958
       App deploy source:             git-push
       App deploy source metadata:    1b7c0d1b226b56b6606310f4ac5a6966b74c554c
       App dir:                       /home/dokku/metasurf
       App locked:                    false
=====> metasurf builder information
       Builder build dir:
       Builder computed build dir:
       Builder computed selected:
       Builder global build dir:
       Builder global selected:
       Builder selected:
=====> metasurf builder-dockerfile information
       Builder dockerfile computed dockerfile path: Dockerfile
       Builder dockerfile global dockerfile path: Dockerfile
       Builder dockerfile dockerfile path:
=====> metasurf builder-herokuish information
       Builder herokuish computed allowed: true
       Builder herokuish global allowed: true
       Builder herokuish allowed:
=====> metasurf builder-lambda information
       Builder lambda computed lambdayml path: lambda.yml
       Builder lambda global lambdayml path: lambda.yml
       Builder lambda lambdayml path:
=====> metasurf builder-nixpacks information
       Builder nixpacks computed nixpackstoml path: nixpacks.toml
       Builder nixpacks global nixpackstoml path: nixpacks.toml
       Builder nixpacks nixpackstoml path:
       Builder nixpacks computed no cache: false
       Builder nixpacks global no cache: false
       Builder nixpacks no cache:
=====> metasurf builder-pack information
       Builder pack computed projecttoml path: project.toml
       Builder pack global projecttoml path: project.toml
       Builder pack projecttoml path:
=====> metasurf buildpacks information
       Buildpacks computed stack:     gliderlabs/herokuish:latest-24
       Buildpacks global stack:
       Buildpacks list:               https://github.com/gaffneyc/heroku-buildpack-jemalloc,https://github.com/carwow/heroku-buildpack-cacheload,https://github.com/heroku/heroku-buildpack-nodejs,https://github.com/heroku/heroku-buildpack-ruby,https://github.com/carwow/heroku-buildpack-cachesave,https://github.com/carwow/heroku-buildpack-cleanup
       Buildpacks stack:
=====> metasurf caddy information
       Caddy image:                   lucaslorentz/caddy-docker-proxy:2.9
       Caddy letsencrypt email:
       Caddy letsencrypt server:      https://acme-v02.api.letsencrypt.org/directory
       Caddy log level:               ERROR
       Caddy polling interval:        5s
       Caddy tls internal:            false
=====> metasurf ssl information
       Ssl dir:                       /home/dokku/metasurf/tls
       Ssl enabled:                   true
       Ssl hostnames:                 metasurfforecast.com
       Ssl expires at:                Aug 21 20:36:09 2025 GMT
       Ssl issuer:                    C = US, O = Let's Encrypt, CN = E6
       Ssl starts at:                 May 23 20:36:10 2025 GMT
       Ssl subject:                   subject=CN = metasurfforecast.com
       Ssl verified:                  verified by a certificate authority
=====> metasurf checks information
       Checks disabled list:          buoy,forecast
       Checks skipped list:           none
       Checks computed wait to retire: 60
       Checks global wait to retire:  60
       Checks wait to retire:
=====> metasurf docker options information
       Docker options build:          --link dokku.postgres.metasurf-17:dokku-postgres-metasurf-17 --link dokku.redis.metasurf:dokku-redis-metasurf
       Docker options deploy:         --link dokku.postgres.metasurf-17:dokku-postgres-metasurf-17 --link dokku.redis.metasurf:dokku-redis-metasurf --restart=on-failure:10
       Docker options run:            --link dokku.postgres.metasurf-17:dokku-postgres-metasurf-17 --link dokku.redis.metasurf:dokku-redis-metasurf
=====> metasurf domains information
       Domains app enabled:           true
       Domains app vhosts:            metasurfforecast.com
       Domains global enabled:        true
       Domains global vhosts:         metasurfforecast.com
=====> metasurf git information
       Git deploy branch:             main
       Git global deploy branch:      master
       Git keep git dir:              false
       Git rev env var:               GIT_REV
       Git sha:                       HEAD
       Git source image:
       Git last updated at:           1749169994
=====> metasurf haproxy information
       Haproxy image:                 byjg/easy-haproxy:4.5.0
       Haproxy letsencrypt email:
       Haproxy letsencrypt server:    https://acme-v02.api.letsencrypt.org/directory
       Haproxy log level:             ERROR
=====> metasurf letsencrypt information
       Letsencrypt active:            true
       Letsencrypt autorenew:         true
       Letsencrypt computed dns provider:
       Letsencrypt global dns provider:
       Letsencrypt dns provider:
       Letsencrypt computed email:    swrobel@gmail.com
       Letsencrypt global email:
       Letsencrypt email:             swrobel@gmail.com
       Letsencrypt expiration:        1755808569
       Letsencrypt computed graceperiod: 2592000
       Letsencrypt global graceperiod:
       Letsencrypt graceperiod:
       Letsencrypt computed lego docker args:
       Letsencrypt global lego docker args:
       Letsencrypt lego docker args:
       Letsencrypt computed server:   https://acme-v02.api.letsencrypt.org/directory
       Letsencrypt global server:
       Letsencrypt server:
=====> metasurf logs information
       Logs app label alias:
       Logs computed app label alias: com.dokku.app-name
       Logs computed max size:        10m
       Logs global app label alias:   com.dokku.app-name
       Logs global max size:          10m
       Logs global vector sink:
       Logs max size:
       Logs vector global image:      timberio/vector:0.47.0-debian
       Logs vector sink:              papertrail://?endpoint=logsX.papertrailapp.com:XXXXX&encoding[codec]=json
=====> metasurf network information
       Network attach post create:
       Network attach post deploy:
       Network bind all interfaces:          false
       Network computed attach post create:
       Network computed attach post deploy:
       Network computed bind all interfaces: false
       Network computed initial network:
       Network computed tld:
       Network global attach post create:
       Network global attach post deploy:
       Network global bind all interfaces:   false
       Network global initial network:
       Network global tld:
       Network initial network:
       Network static web listener:
       Network tld:
       Network web listeners:                172.17.0.8:5000
=====> metasurf nginx information
       Nginx access log format:
       Nginx computed access log format:
       Nginx global access log format:
       Nginx access log path:
       Nginx computed access log path: /var/log/nginx/metasurf-access.log
       Nginx global access log path:  /var/log/nginx/metasurf-access.log
       Nginx bind address ipv4:
       Nginx computed bind address ipv4:
       Nginx global bind address ipv4:
       Nginx bind address ipv6:
       Nginx computed bind address ipv6: ::
       Nginx global bind address ipv6: ::
       Nginx client body timeout:
       Nginx computed client body timeout: 60s
       Nginx global client body timeout: 60s
       Nginx client header timeout:
       Nginx computed client header timeout: 60s
       Nginx global client header timeout: 60s
       Nginx client max body size:
       Nginx computed client max body size: 1m
       Nginx global client max body size: 1m
       Nginx disable custom config:
       Nginx computed disable custom config: false
       Nginx global disable custom config: false
       Nginx error log path:
       Nginx computed error log path: /var/log/nginx/metasurf-error.log
       Nginx global error log path:   /var/log/nginx/metasurf-error.log
       Nginx hsts include subdomains:
       Nginx computed hsts include subdomains: true
       Nginx global hsts include subdomains: true
       Nginx hsts max age:
       Nginx computed hsts max age:   15724800
       Nginx global hsts max age:     15724800
       Nginx hsts preload:
       Nginx computed hsts preload:   false
       Nginx global hsts preload:     false
       Nginx hsts:
       Nginx computed hsts:           true
       Nginx global hsts:             true
       Nginx last visited at:
       Nginx keepalive timeout:
       Nginx computed keepalive timeout: 75s
       Nginx global keepalive timeout: 75s
       Nginx lingering timeout:
       Nginx computed lingering timeout: 5s
       Nginx global lingering timeout: 5s
       Nginx nginx conf sigil path:
       Nginx computed nginx conf sigil path: nginx.conf.sigil
       Nginx global nginx conf sigil path: nginx.conf.sigil
       Nginx proxy buffer size:
       Nginx computed proxy buffer size: 4k
       Nginx global proxy buffer size: 4k
       Nginx proxy buffering:
       Nginx computed proxy buffering: on
       Nginx global proxy buffering:  on
       Nginx proxy buffers:
       Nginx computed proxy buffers:  8 4k
       Nginx global proxy buffers:    8 4k
       Nginx proxy busy buffers size:
       Nginx computed proxy busy buffers size: 8k
       Nginx global proxy busy buffers size: 8k
       Nginx proxy connect timeout:
       Nginx computed proxy connect timeout: 60s
       Nginx global proxy connect timeout: 60s
       Nginx proxy read timeout:
       Nginx computed proxy read timeout: 60s
       Nginx global proxy read timeout: 60s
       Nginx proxy send timeout:
       Nginx computed proxy send timeout: 60s
       Nginx global proxy send timeout: 60s
       Nginx send timeout:
       Nginx computed send timeout:   60s
       Nginx global send timeout:     60s
       Nginx underscore in headers:
       Nginx computed underscore in headers: off
       Nginx global underscore in headers: off
       Nginx x forwarded for value:
       Nginx computed x forwarded for value: $remote_addr
       Nginx global x forwarded for value: $remote_addr
       Nginx x forwarded port value:
       Nginx computed x forwarded port value: $server_port
       Nginx global x forwarded port value: $server_port
       Nginx x forwarded proto value:
       Nginx computed x forwarded proto value: $scheme
       Nginx global x forwarded proto value: $scheme
       Nginx x forwarded ssl:
       Nginx computed x forwarded ssl:
       Nginx global x forwarded ssl:
=====> metasurf openresty information
       Openresty access log format:
       Openresty access log path:     /var/log/nginx/metasurf-access.log
       Openresty allowed letsencrypt domains func base64: cmV0dXJuIHRydWUK
       Openresty bind address ipv4:
       Openresty bind address ipv6:   ::
       Openresty client body timeout: 60s
       Openresty client header timeout: 60s
       Openresty client max body size:
       Openresty error log path:      /var/log/nginx/metasurf-error.log
       Openresty global hsts:         true
       Openresty computed hsts:       true
       Openresty hsts:
       Openresty hsts include subdomains: true
       Openresty hsts max age:        15724800
       Openresty hsts preload:        false
       Openresty image:               dokku/openresty-docker-proxy:0.9.3
       Openresty keepalive timeout:   75s
       Openresty letsencrypt email:
       Openresty letsencrypt server:  https://acme-v02.api.letsencrypt.org/directory
       Openresty lingering timeout:   5s
       Openresty proxy buffer size:   4k
       Openresty proxy buffering:     on
       Openresty proxy buffers:       8 4k
       Openresty proxy busy buffers size: 8k
       Openresty proxy connect timeout: 60s
       Openresty proxy read timeout:  60s
       Openresty proxy send timeout:  60s
       Openresty send timeout:        60s
       Openresty underscore in headers: off
       Openresty x forwarded for value: $remote_addr
       Openresty x forwarded port value: $server_port
       Openresty x forwarded proto value: $scheme
       Openresty x forwarded ssl:
=====> metasurf ports information
       Ports map:
       Ports map detected:            http:80:5000 https:443:5000
=====> metasurf proxy information
       Proxy computed type:           nginx
       Proxy enabled:                 true
       Proxy global type:             nginx
       Proxy type:
=====> metasurf ps information
       Deployed:                      true
       Processes:                     3
       Ps can scale:                  true
       Ps computed procfile path:     Procfile
       Ps global procfile path:       Procfile
       Ps procfile path:
       Ps restart policy:             on-failure:10
       Restore:                       true
       Running:                       true
       Status buoy 1:                 running (CID: 87d692002cb)
       Status forecast 1:             running (CID: f171ac4158f)
       Status web 1:                  running (CID: bb95bb55558)
=====> metasurf registry information
       Registry computed image repo:        dokku/metasurf
       Registry computed push on release:   false
       Registry computed server:
       Registry global image repo template:
       Registry global push on release:
       Registry global server:
       Registry image repo:
       Registry push extra tags:
       Registry push on release:
       Registry server:
       Registry tag version:
=====> metasurf resource information
=====> metasurf scheduler information
       Scheduler computed selected:   docker-local
       Scheduler global selected:     docker-local
       Scheduler selected:
=====> metasurf scheduler-docker-local information
       Scheduler docker local init process: true
       Scheduler docker local parallel schedule count:
=====> metasurf scheduler-k3s information
       Scheduler k3s computed deploy timeout:       300s
       Scheduler k3s computed image pull secrets:
       Scheduler k3s computed letsencrypt server:   prod
       Scheduler k3s computed namespace:            default
       Scheduler k3s computed rollback on failure:  false
       Scheduler k3s computed shm size:
       Scheduler k3s deploy timeout:
       Scheduler k3s global deploy timeout:         300s
       Scheduler k3s global image pull secrets:
       Scheduler k3s global ingress class:          nginx
       Scheduler k3s global kube context:
       Scheduler k3s global kubeconfig path:        /etc/rancher/k3s/k3s.yaml
       Scheduler k3s global letsencrypt email prod:
       Scheduler k3s global letsencrypt email stag:
       Scheduler k3s global letsencrypt server:     prod
       Scheduler k3s global namespace:              default
       Scheduler k3s global network interface:      eth0
       Scheduler k3s global rollback on failure:    false
       Scheduler k3s global shm size:
       Scheduler k3s image pull secrets:
       Scheduler k3s letsencrypt server:
       Scheduler k3s namespace:
       Scheduler k3s rollback on failure:
       Scheduler k3s shm size:
=====> metasurf storage information
       Storage build mounts:
       Storage deploy mounts:
       Storage run mounts:
=====> metasurf traefik information
       Traefik api enabled:           false
       Traefik api vhost:             traefik.dokku.me
       Traefik basic auth password:
       Traefik basic auth username:
       Traefik dashboard enabled:     false
       Traefik image:                 traefik:3.4.1
       Traefik letsencrypt email:
       Traefik letsencrypt server:    https://acme-v02.api.letsencrypt.org/directory
       Traefik log level:             ERROR
       Traefik http entry point:      http
       Traefik https entry point:     https

Additional information

No response

Output of failing commands after running: dokku trace:off

Output of failing commands after running: dokku trace:on

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions