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.
Comments
Similar requests
Feature: Add support for the Speculation Rules API
1 vote · 0 comments
Tracker: option to *not* await the request to `/api/send`
1 vote · 0 comments
Public api /status for checking webserver/database health
3 votes · 0 comments
Feature: create umami report from api
3 votes · 0 comments
uBlock Origin Avoided
2 votes · 0 comments
No comments yet.