Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhuix/promtail
The promtail is the agent based on loki promtail with reserve forward server and client, responsible for gathering logs and sending them to Loki.
https://github.com/jhuix/promtail
grafana logging loki promtail reserve-forward
Last synced: 2 months ago
JSON representation
The promtail is the agent based on loki promtail with reserve forward server and client, responsible for gathering logs and sending them to Loki.
- Host: GitHub
- URL: https://github.com/jhuix/promtail
- Owner: jhuix
- License: apache-2.0
- Created: 2021-01-09T12:14:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-21T04:26:22.000Z (almost 4 years ago)
- Last Synced: 2024-11-15T21:47:16.384Z (3 months ago)
- Topics: grafana, logging, loki, promtail, reserve-forward
- Language: Go
- Homepage:
- Size: 4.31 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Promtail: reserve forward promtail for loki
The `reserve forward promtail` is the agent based on [loki promtail](https://github.com/grafana/loki.git) with reserve forward server and client, responsible for gathering logs and sending them to Loki.
## Diagram (1 x N)
## Building from source
To build Promtail on non-Linux platforms, use the following command:
```bash
$ 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:
```bash
$ sudo apt install -y libsystemd-dev
$ CGO_ENABLED=1 go build ./cmd/promtail
```With Journal support on CentOS, run with the following commands:
```bash
$ 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:```bash
$ CGO_ENABLED=0 go build ./cmd/promtail
```## License
Apache License 2.0, see [LICENSE](LICENSE).