notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2026Q1
loki Scalable, highly-available, multi-tenant log aggregation system
2.9.2_25 sysutils on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.9.2_29Version of this port present on the latest quarterly branch.
Maintainer: freebsd@funzi.org search for ports maintained by this maintainer
Port Added: 2026-01-25 01:42:26
Last Update: 2026-03-24 13:10:06
Commit Hash: 5fe27aa
License: AGPLv3
WWW:
https://github.com/grafana/loki
Description:
Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. It does not index the contents of the logs, but rather a set of labels for each log stream.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (23 items)
Collapse this list.
  1. /usr/local/share/licenses/grafana-loki-2.9.2_25/catalog.mk
  2. /usr/local/share/licenses/grafana-loki-2.9.2_25/LICENSE
  3. /usr/local/share/licenses/grafana-loki-2.9.2_25/AGPLv3
  4. bin/loki
  5. bin/loki-canary
  6. bin/logcli
  7. bin/promtail
  8. @sample etc/loki.yaml.sample
  9. @sample etc/promtail.yaml.sample
  10. @owner loki
  11. @group loki
  12. @mode 750
  13. @dir /var/db/loki
  14. @dir /var/db/loki/rules-temp
  15. @owner promtail
  16. @mode 750
  17. @dir /var/db/promtail
  18. @mode
  19. @group
  20. @owner
  21. @owner
  22. @group
  23. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • loki
  • promtail
Dependency lines:
  • grafana-loki>0:sysutils/loki
To install the port:
cd /usr/ports/sysutils/loki/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/loki
  • pkg install grafana-loki
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: grafana-loki
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1774354855 SHA256 (grafana-loki-v2.9.2_GH0.tar.gz) = 9c1a153ab4d57d5c109dbf55d4ea5aeab2159ccf51d3b8cc8fea19970f0a88d8 SIZE (grafana-loki-v2.9.2_GH0.tar.gz) = 45711316

Packages (timestamps in pop-ups are UTC):
grafana-loki
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.9.2_262.9.2_26-2.9.2_162.9.2_26n/an/an/a
FreeBSD:13:quarterly2.9.2_262.9.2_26-2.9.2_132.9.2_26n/an/an/a
FreeBSD:14:latest2.9.2_282.9.2_28-2.9.2_152.9.2_29---
FreeBSD:14:quarterly2.9.2_282.9.2_28-2.9.2_132.9.2_29---
FreeBSD:15:latest2.9.2_282.9.2_28n/a-n/an/a--
FreeBSD:15:quarterly2.9.2_282.9.2_28n/a-n/an/a--
FreeBSD:16:latest2.9.2_282.9.2_28n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. go124 : lang/go124
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
sysutils_loki
USES:
go:modules cpe
pkg-message:
If upgrading from < 2.6.1_5:
Upgrading from before 2.6.1_5 changes default log level "info" to "warn". Adjust loki_loglevel in ${ETCDIR}/rc.d/loki if needed.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/grafana/loki/tar.gz/v2.9.2?dummy=/
Collapse this list.

Number of commits found: 5

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.9.2_25
24 Mar 2026 13:10:06
commit hash: 5fe27aaf47db1ba5fbe0c2aa580be979bfcbc3adcommit hash: 5fe27aaf47db1ba5fbe0c2aa580be979bfcbc3adcommit hash: 5fe27aaf47db1ba5fbe0c2aa580be979bfcbc3adcommit hash: 5fe27aaf47db1ba5fbe0c2aa580be979bfcbc3ad files touched by this commit
Michael Gmelin (grembo) search for other commits by this committer
sysutils/loki: Remove GH_TUPLE

GH_TUPLE is not required when using go:modules.
As a side-effect, this solves a hash issue in distfiles.

Approved by:	portmgr (blanket)
Differential Revision:	https://reviews.freebsd.org/D55695

(cherry picked from commit 02cf1b3851b540b042e67db4f8d42ab4c7f62bfe)
2.9.2_23
06 Mar 2026 03:52:43
commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9commit hash: ef8f442a3f6b40cbf3668a21fe541ebe8c8a07c9 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump ports for Go 1.25.8

This is a direct commit to 2026Q1.
2.9.2_22
18 Feb 2026 10:16:49
commit hash: 4f160e08734a99e5706fc580cd262822c350aecdcommit hash: 4f160e08734a99e5706fc580cd262822c350aecdcommit hash: 4f160e08734a99e5706fc580cd262822c350aecdcommit hash: 4f160e08734a99e5706fc580cd262822c350aecd files touched by this commit
Michael Gmelin (grembo) search for other commits by this committer
sysutils/loki: Fix build

Checksum of one of the many required go modules changed, compared
its content to what was on distcache to verify the change is harmless:

    diff consul-1.5.1/vendor/k8s.io/client-go/pkg/version/base.go ...
    ...
    < gitVersion   string = "v0.0.0-master+40cec98468b"
    ---
    > gitVersion   string = "v0.0.0-master+40cec98468b8"

Approved by:	portmgr (blanket)

(cherry picked from commit 1dff87feb9cdb23f040422deba3697f5cebf79dc)
2.9.2_22
05 Feb 2026 18:02:36
commit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1dcommit hash: 010c6554e1ed5ef4312705d922e942eb4b0edc1d files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump Go ports for 1.24.13

This is a direct commit to 2026Q1.
2.9.2_21
25 Jan 2026 01:35:05
commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9commit hash: ca7bf6089bffdf18221d51adecc35589d666a2a9 files touched by this commit
Adam Weinberger (adamw) search for other commits by this committer
various: Bump dependent ports for Go 1.24.12.

This is a direct commit to 2026Q1.

Number of commits found: 5