# enabled: true
# distributed: false
# max_size_mb: 100
- from: 2020-10-24
# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
# Statistics help us better understand how Loki is used, and they show us performance
# levels for most users. This helps us prioritize features and documentation.
# For more information on what's sent, look at
# Refer to the buildReport method to see what goes into a report.
# If you would like to disable reporting, uncomment the following lines:
# reporting_enabled: false
in the following folder, i found files with actual log data from the server, so thats why i know it fetches data: C:\Program Files\GrafanaLabs!Loki\tmp\loki\wal\00000000
yep, the graphics you posted seems fair. I have grafana and loki on same pc, and promtail on another server.
- url: http://*********:3100/loki/api/v1/push
# The URL where Loki is listening, denoted in Loki as http_listen_address and
# http_listen_port. If Loki is running in microservices mode, this is the HTTP
# URL for the Distributor. Path to the push API needs to be included.
# Example: http://example.com:3100/loki/api/v1/push
- job_name: *******-Logs
# Configures the discovery to look on the current machine.
# This is required by the prometheus service discovery code but doesn't
# really apply to Promtail which can ONLY look at files on the local machine
# As such it should only have the value of localhost, OR it can be excluded
# entirely and a default value of localhost will be applied by Promtail.
# The path to load logs from. Can use glob patterns (e.g., /var/log/*.log).
# Additional labels to assign to the logs
# [ <labelname>: <labelvalue> ... ]