Skip to content
/ promtail Public

The promtail is the agent based on loki promtail with reserve forward server and client, responsible for gathering logs and sending them to Loki.

License

Notifications You must be signed in to change notification settings

jhuix/promtail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promtail Logo

Promtail: reserve forward promtail for loki

The reserve forward promtail is the agent based on loki promtail with reserve forward server and client, responsible for gathering logs and sending them to Loki.

Diagram (1 x N)

Promtail Logo

Building from source

To build Promtail on non-Linux platforms, use the following command:

$ go build ./cmd/promtail

On Linux, Promtail requires the systemd headers to be installed for Journal support.

With Journal support on Ubuntu, run with the following commands:

$ sudo apt install -y libsystemd-dev
$ CGO_ENABLED=1 go build ./cmd/promtail

With Journal support on CentOS, run with the following commands:

$ sudo yum install -y systemd-devel
$ CGO_ENABLED=1 go build ./cmd/promtail

Otherwise, to build Promtail without Journal support, run go build with CGO disabled:

$ CGO_ENABLED=0 go build ./cmd/promtail

License

Apache License 2.0, see LICENSE.

About

The promtail is the agent based on loki promtail with reserve forward server and client, responsible for gathering logs and sending them to Loki.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published