-
-
Save jnials/28095a6ad78c91d4e4322f07c88af455 to your computer and use it in GitHub Desktop.
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 | |
clients: | |
- url: http://127.0.0.1:3100/loki/api/v1/push | |
scrape_configs: | |
- job_name: journal | |
journal: | |
max_age: 12h | |
path: /var/log/journal | |
labels: | |
job: systemd-journal | |
relabel_configs: | |
- source_labels: ['__journal__systemd_unit'] | |
target_label: 'unit' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment