Last active
August 29, 2020 09:13
-
-
Save Sean-Bradley/fff3c40241b133666d122775bea30845 to your computer and use it in GitHub Desktop.
This file contains 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 | |
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