Last active
October 28, 2022 13:40
-
-
Save rootsec1/f2b1d0b930fb10a1e235cfdc3f1fe067 to your computer and use it in GitHub Desktop.
promtail-custom-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
http_listen_port: 9080 | |
grpc_listen_port: 0 | |
positions: | |
filename: /tmp/positions.yaml | |
client: | |
url: https://312367:eyJrIjoiYTlkZjU5N2VmZjMxMDBmMmEwNjYxYTM3OGI4MmYwZDlmNzU2NzU5NiIsIm4iOiJQcmltYXJ5IEFQSSBLZXkiLCJpZCI6NzMzNjc0fQ==@logs-prod-014.grafana.net/api/prom/push | |
scrape_configs: | |
- job_name: system | |
static_configs: | |
- targets: | |
- localhost | |
labels: | |
job: varlogs | |
__path__: /var/log/*.log | |
- job_name: backend-eb | |
static_configs: | |
- targets: | |
- localhost | |
labels: | |
job: backend-eb | |
__path__: /var/app/current/log/*.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment