Lusitaniae.sa_loki_promtail
sa_loki_promtail
Usage Example:
Simple
- {
role: "sa_loki_promtail",
loki_promtail_version: "1.2.0"
}
Advanced
roles:
- {
role: "sa_loki_promtail",
loki_version: "1.2.0",
loki_user: loki,
loki_group: loki,
loki_base_dir: /opt/loki
}
Configuring Logging
scrape_configs:
- job_name: system
entry_parser: raw
static_configs:
- targets:
- localhost labels: job: varlogs path: /var/log/*log
- targets:
- job_name: nginx
entry_parser: raw
static_configs:
- targets:
- localhost labels: job: nginx path: /var/log/nginx/*log
- targets:
Using with Ansible Galaxy
If you installed the sa_loki_promtail role using the command:
ansible-galaxy install softasap.sa_loki_promtail
The role will be found in the folder library/softasap.sa_loki_promtail.
Please adjust the path if needed.
- {
role: "softasap.sa_loki_promtail"
}
Copyright and License
The code is available under the BSD 3 Clause and the MIT License. You can choose the one that is best for you.
Contact Us:
Stay updated on roles at FB
Join the discussion on Gitter
Explore other roles at http://www.softasap.com/roles/registry_generated.html
Visit our blog at http://www.softasap.com/blog/archive.html
Informazioni sul progetto
Grafana promtail - client for Loki log processor
Installa
ansible-galaxy install Lusitaniae.sa_loki_promtailLicenza
mit
Download
1.6k
Proprietario
Medium rare coder with an acquired taste for dry steak.
