# Multi-agentcy doesn't work (traefik-log-dashboard discussion #86)

**URL:** <https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619>\
**Category:** Traefik Log Dashboard\
**Tags:** discussion\
**Created:** [October 17, 2025, 10:35am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619 "2025-10-17T10:35:46Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 17, 2025, 10:35am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/1 "2025-10-17T10:35:46Z")

</div>

> 💬 **GitHub discussion [traefik-log-dashboard #86](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86)** in _Help_, started by **`plakun`** on GitHub

Hello.  
I try to use multiple agent installment with dashboard frontend in kubernetes, and looks like it doesn’t work.  
Agents look like ok in dashboard, but i see in dashboard logs that it tries to connect to localhost instead of added agents.

[External Image](https://github.com/user-attachments/assets/6aa1b2ae-c8e1-405f-aab7-12df293ea969 "Image hosted on another site. Click to open in a new tab.")  
[External Image](https://github.com/user-attachments/assets/f5528767-4c3a-4bcd-83bb-dbbffe9e998c "Image hosted on another site. Click to open in a new tab.")  
[External Image](https://github.com/user-attachments/assets/dd0485b9-91b4-4048-a316-008a81397417 "Image hosted on another site. Click to open in a new tab.")

Deployment:

```auto
apiVersion: apps/v1
kind: Deployment
metadata:
  name: traefik-log-dashboard
spec:
  replicas: 1
  selector:
    matchLabels:
      app: traefik-log-dashboard-app
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      labels:
        app: traefik-log-dashboard-app 
    spec:
      containers:
      - image: hhftechnology/traefik-log-dashboard:latest
        name: traefik-log-dashboard
        resources:
          requests:
            cpu: 500m
            memory: 512Mi
          limits:
            cpu: 2000m
            memory: 2048Mi
        env:
        - name: PORT
          valueFrom:
            secretKeyRef:
              name: traefik-log-env
              key: PORT
        - name: NODE_ENV
          valueFrom:
            secretKeyRef: …

---
💬 Join in here or [on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86).
<!-- hhf-forum-sync -->
```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 17, 2025, 11:09am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/2 "2025-10-17T11:09:40Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14708800):

> your dashboard needs to be configured with the agents’ URLs and authentication tokens.  
> In Kubernetes, you need to:
> 
> 1. **Create Kubernetes Services** for each agent
> 2. **Configure the dashboard** with agent URLs pointing to those services
> 3. **Add agents through the dashboard UI**
> 
> Here’s the detailed solution for future reference:
> 
> ## Solution: Kubernetes Multi-Agent Setup
> 
> ### 1. Create Services for Your Agents
> 
> First, you need to expose your agents as Kubernetes services. Since your agents are running in Podman, you’ll need to either:
> 
> **Option A: Run agents in Kubernetes** (Recommended)  
> **Option B: Expose Podman agents to Kubernetes** (if agents must stay in Podman)
> 
> Let me show you **Option A** (running agents in Kubernetes):
> 
> ```yaml
> ---
> # Agent 1 Deployment
> apiVersion: apps/v1
> kind: Deployment
> metadata:
> name: traefik-agent-01
> namespace: traefik-log-dashboard
> spec:
> replicas: 1
> selector:
> matchLabels:
> app: traefik-agent
> instance: agent-01
> template:
> metadata:
> labels:
> app: traefik-agent
> instance: agent-01
> spec:
> containers:
> - name: agent
> image: hhftechnology/traefik-log-dashboard-agent:latest
> ports:
> - containerPort: 5001
> name: api
> env:
> - name: PORT
> value: "5001"
> - name: TRAEFIK_LOG_DASHBOARD_ACCESS_PATH
> value: "/logs/access.log"
> - name: TRAEFIK_LOG_DASHBOARD_ERROR_PATH
> value: "/logs/traefik.log"
> - name: TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN
> valueFrom:
> secretKeyRef:
> name: traefik-agent-tokens
> key: agent-01-token
> - name: TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING
> value: "true"
> - name: TRAEFIK_LOG_DASHBOARD_LOG_FORMAT
> value: "json"
> - name: TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED
> value: "false"
> volumeMounts:
> - name: traefik-logs
> mountPath: /logs
> readOnly: true
> - name: agent-data
> mountPath: /data
> resources:
> requests:
> cpu: 100m
> memory: 128Mi
> limits:
> cpu: 500m
> memory: 512Mi
> livenessProbe:
> httpGet:
> path: /api/logs/status
> port: 5001
> initialDelaySeconds: 10
> periodSeconds: 30
> readinessProbe:
> httpGet:
> path: /api/logs/status
> port: 5001
> initialDelaySeconds: 5
> periodSeconds: 10
> volumes:
> - name: traefik-logs
> hostPath:
> path: /var/log/traefik # Adjust to your Traefik logs location
> type: Directory
> - name: agent-data
> persistentVolumeClaim:
> claimName: agent-01-data
> 
> ---
> # Agent 1 Service
> apiVersion: v1
> kind: Service
> metadata:
> name: traefik-agent-01
> namespace: traefik-log-dashboard
> spec:
> selector:
> app: traefik-agent
> instance: agent-01
> ports:
> - name: api
> port: 5001 …
> ```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 20, 2025, 4:56am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/3 "2025-10-20T04:56:36Z")

</div>

**`plakun`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14725546):

> Well, i did exactly what you wrote in p.4, option 2 🙂  
> Dashboard is in k8s.  
> Traefik is on linux virtual machine, agent is on the same vm in podman.  
> I have added agents through dashboard UI, added theres keys, i can see agents in UI. But dashboard still tries to connect to default agent on localhost ignoring my settings.  
> I see another ticket where topic starter acted exactly how it is written in manual and he has same problem - [Multi Agent Not Working · Issue #89 · hhftechnology/traefik-log-dashboard · GitHub](https://github.com/hhftechnology/traefik-log-dashboard/issues/89)
> 
> Btw there is no wget in dashboard image to trobleshoot connectivity as it said in p.5.
> 
> ```auto
> kubectl get pods -n traefik-log-dashboard
> NAME READY STATUS RESTARTS AGE
> traefik-log-dashboard-55786d8659-tw7rk 1/1 Running 0 2d19h
> kubectl exec -it traefik-log-dashboard-55786d8659-tw7rk -n traefik-log-dashboard -- wget -O- http://traefik-agent-01:5001/api/logs/status
> 2025-10-20T04:48:21.321366Z: 2025-10-20T04:48:21.321072Z: executable file `wget` not found in $PATH: No such file or directory
> 
> ```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 20, 2025, 3:37pm UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/4 "2025-10-20T15:37:41Z")

</div>

**`hhftechnology`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14731037) to **`plakun`** :

> ```auto
> I see another ticket where topic starter acted exactly how it is written in manual and he has same problem - https://github.com/hhftechnology/traefik-log-dashboard/issues/89
> 
> Btw there is no wget in dashboard image to trobleshoot connectivity as it said in p.5.
> 
> kubectl get pods -n traefik-log-dashboard
> NAME READY STATUS RESTARTS AGE
> traefik-log-dashboard-55786d8659-tw7rk 1/1 Running 0 2d19h
> kubectl exec -it traefik-log-dashboard-55786d8659-tw7rk -n traefik-log-dashboard -- wget -O- http://traefik-agent-01:5001/api/logs/status
> 2025-10-20T04:48:21.321366Z: 2025-10-20T04:48:21.321072Z: executable file `wget` not found in $PATH: No such file or directory
> 
> ```
> 
> you can ship the health check for the dashboard, till i figure how to archive this optimal.  
> currently i don’t have perfect fix, and i don’t want to apply a bandage.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 20, 2025, 3:38pm UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/5 "2025-10-20T15:38:22Z")

</div>

**`hhftechnology`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14731043) to **`plakun`** :

> other than that, multi agent work just fine

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 20, 2025, 4:38pm UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/6 "2025-10-20T16:38:13Z")

</div>

**`osmollo`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14731745):

> Hi!
> 
> I have the same problem but im using docker-compose to deploy the containers:
> 
> I have 2 agents in different servers behind a traefik proxy and the dashboard instance is in a thind server with connectivity with agents
> 
> **agent-1** :
> 
> ```auto
> traefik_agent:
> container_name: traefik_agent
> environment:
> PORT: '5000'
> TRAEFIK_LOG_DASHBOARD_ACCESS_PATH: /logs/access.log
> TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN: <token_agent_1>
> TRAEFIK_LOG_DASHBOARD_ERROR_PATH: /logs/traefik.log
> TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB: /geoip/GeoLite2-City.mmdb
> TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB: /geoip/GeoLite2-Country.mmdb
> TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED: true
> TRAEFIK_LOG_DASHBOARD_LOG_FORMAT: json
> TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING: true
> image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
> labels:
> traefik.docker.network: traefik
> traefik.http.routers.traefik_agent-secure.rule: Host(`agent.mydomain1`)
> traefik.http.services.traefik_agent.loadbalancer.server.port: '5000'
> networks:
> - traefik
> volumes:
> - traefik:/logs:ro
> - agent_geoip:/geoip:ro
> - agent_positions:/data
> 
> ```
> 
> **agent-2** :
> 
> ```auto
> traefik_agent:
> container_name: traefik_agent
> environment:
> LOG_LEVEL: debug
> PORT: 5000
> TRAEFIK_LOG_DASHBOARD_ACCESS_PATH: /logs/access.log
> TRAEFIK_LOG_DASHBOARD_AUTH_TOKEN: <token_agent_2>
> TRAEFIK_LOG_DASHBOARD_ERROR_PATH: /logs/traefik.log
> TRAEFIK_LOG_DASHBOARD_GEOIP_CITY_DB: /geoip/GeoLite2-City.mmdb
> TRAEFIK_LOG_DASHBOARD_GEOIP_COUNTRY_DB: /geoip/GeoLite2-Country.mmdb
> TRAEFIK_LOG_DASHBOARD_GEOIP_ENABLED: true
> TRAEFIK_LOG_DASHBOARD_SYSTEM_MONITORING: true
> TRAEFIK_LOG_DASHBOARD_LOG_FORMAT: json
> image: hhftechnology/traefik-log-dashboard-agent:dev-dashboard
> labels:
> traefik.docker.network: traefik
> traefik.http.routers.traefik_agent-secure.rule: Host(`agent.mydomain2`)
> traefik.http.services.traefik_agent.loadbalancer.server.port: '5000'
> networks:
> - traefik
> volumes:
> - traefik:/logs:ro
> - agent_geoip:/geoip:ro
> - agent_positions:/data
> 
> ```
> 
> **dashboard** :
> 
> ```auto
> traefik_dashboard:
> container_name: traefik_dashboard
> environment:
> NODE_ENV: production
> PORT: 3000
> image: hhftechnology/traefik-log-dashboard:dev-dashboard
> labels:
> backup: false
> caddy: log.mydomain
> caddy.import: tinyauth_forwarder *
> caddy.reverse_proxy: '{{upstreams 3000}}'
> caddy_ingress_network: traefik_dashboard
> networks:
> - traefik_dashboard
> 
> ```
> 
> And this is the agent configuration in dashboard:
> 
> ```auto
> {
> "version": "1.0",
> "exportDate": "2025-10-20T16:29:21.097Z",
> "agents": [
> {
> "id": "agent-1",
> "name": "agent-1",
> "url": "https://agent.mydomain1",
> "token": "<token_agent_1>",
> "location": "off-site",
> "number": 1,
> "tags": [] …
> ```

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 20, 2025, 8:40pm UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/7 "2025-10-20T20:40:34Z")

</div>

**`osmollo`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14733593) to **`osmollo`** :

> Hi!!! I was testing the dashboard with the browser’s devtool opened and the error 500 is due to the request to the agent api really attacks to dashboard domain:
> 
> [External Image](https://github.com/user-attachments/assets/dcb9863f-05e7-44ef-96fe-91db35815733 "Image hosted on another site. Click to open in a new tab.")

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 22, 2025, 4:37pm UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/8 "2025-10-22T16:37:48Z")

</div>

**`osmollo`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14753315) to **`osmollo`** :

> It works!!!
> 
> After reading the other discussion about this issue ([Multi Agent Not Working · hhftechnology/traefik-log-dashboard · Discussion #90 · GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/90)) I updated the docker image with tag `dev-dashboard` and voilá!
> 
> Thank you so much

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 23, 2025, 4:49am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/9 "2025-10-23T04:49:18Z")

</div>

**`plakun`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14757746):

> using dev-dashboard with pv in k8s realy helped, thx.  
> Now I see that when switching the data source, some fields get “stuck” — their data doesn’t update until the browser page is reloaded.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 25, 2025, 2:35am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/10 "2025-10-25T02:35:05Z")

</div>

**`hhftechnology`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14777793):

> @​plakun @​osmollo check the docs for issues . latest release should fix all the pending issues. `image: hhftechnology/traefik-log-dashboard-agent:2.1.0`

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 27, 2025, 3:21am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/11 "2025-10-27T03:21:44Z")

</div>

**`plakun`** [commented on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14788782):

> You should fix docs in [Release Release v2.1.0 · hhftechnology/traefik-log-dashboard · GitHub](https://github.com/hhftechnology/traefik-log-dashboard/releases/tag/v2.1.0)  
> there is wrong tag “v2.1.0”

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 27, 2025, 8:30am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/12 "2025-10-27T08:30:03Z")

</div>

**`osmollo`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14790682) to **`hhftechnology`** :

> Hi! thank you so much for the update…
> 
> @​hhftechnology In the [release notes](https://github.com/hhftechnology/traefik-log-dashboard/releases/tag/v2.1.0), i saw that default port for agent has changed to 8080, is it correct? I guess that is a breaking change that should be more vissible. Also in [release notes](https://github.com/hhftechnology/traefik-log-dashboard/releases/tag/v2.1.0), the [link to CHANGELOG.md](https://github.com/hhftechnology/traefik-log-dashboard/blob/main/CHANGELOG.md) is not working, that file doesn’t exist
> 
> Regards

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 30, 2025, 8:34am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/13 "2025-10-30T08:34:56Z")

</div>

**`osmollo`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14823961) to **`hhftechnology`** :

> Hi!
> 
> @​hhftechnology I was trying to update my containers and none of those docker images exist:
> 
> [External Image](https://github.com/user-attachments/assets/2dda0b4a-55a5-4fa3-ad1f-c0210297b8b3 "Image hosted on another site. Click to open in a new tab.")

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 30, 2025, 9:00am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/14 "2025-10-30T09:00:59Z")

</div>

**`hhftechnology`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14824451) to **`hhftechnology`** :

> Remove the v.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 30, 2025, 9:02am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/15 "2025-10-30T09:02:05Z")

</div>

**`hhftechnology`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14824463) to **`plakun`** :

> Yes , I will do it today

---

<div class="post-metadata">

**Author:** ![system](https://forum.hhf.technology/user_avatar/forum.hhf.technology/system/32/6437_2.png) [@system](https://forum.hhf.technology/u/system)\
**Post date:** [October 30, 2025, 9:30am UTC](https://forum.hhf.technology/t/multi-agentcy-doesnt-work-traefik-log-dashboard-discussion-86/4619/16 "2025-10-30T09:30:40Z")

</div>

**`osmollo`** [replied in a thread on GitHub](https://github.com/hhftechnology/traefik-log-dashboard/discussions/86#discussioncomment-14824778) to **`hhftechnology`** :

> oh f\*ck! it was @​plakun said in the below comment, sorry
