1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: enable merging logs for all containers in a host (#3492)

This commit is contained in:
Amir Raminfar
2024-12-31 08:55:48 -08:00
committed by GitHub
parent 08e5deba7e
commit cc76c00933
17 changed files with 129 additions and 15 deletions

View File

@@ -94,6 +94,7 @@ func createRouter(h *handler) *chi.Mux {
r.Use(auth.RequireAuthentication)
}
r.Get("/hosts/{host}/containers/{id}/logs/stream", h.streamContainerLogs)
r.Get("/hosts/{host}/logs/stream", h.streamHostLogs)
r.Get("/hosts/{host}/containers/{id}/logs", h.fetchLogsBetweenDates)
r.Get("/hosts/{host}/logs/mergedStream/{ids}", h.streamLogsMerged)
r.Get("/containers/{hostIds}/download", h.downloadLogs) // formatted as host:container,host:container