FeatureFuel
2

API to read traefik log passed through telegraf

Source: umami-software/umami#2551 · opened by @fossilscm
Describe the feature or enhancement allow not only client javascript api/send but also reverse proxy access log entries, which has same data. I just finished "proxy" expressjs handler, see [telegraf2umami-middleware.js.txt]( that can read telegraf POST request with JSON data and transforms it to umami /api/send form. As traefik access log contains same information about browser I have very valuable live output from reverse proxy traffic :), without bother with javascript in apps. Setup was very simple and also should be very simple to enhance umami to let it directly read telegraf(traefik) log. BTW in my middleware I send every reverse proxy record twice, once as visit and second as event (with status code). also telegraf setup is very simple, just see [telegraf.conf.txt]( there are actualy 2 troubles with telegraf: it sends only one POST per message (I need two) it cant transform its JSON to umami JSON (thats What I do in my middleware) such a functional…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests