server:
  http_listen_port: 9080
  grpc_listen_port: 0

clients:
  - url: http://192.168.1.48:3100/loki/api/v1/push

scrape_configs:
  - job_name: journal
    journal:
      max_age: 24h
      labels:
        job: systemd-journal
        host: {{ansible_hostname}}
    relabel_configs:
      - source_labels: ['__journal__systemd_unit']
        target_label: 'unit'
