softasap.sa_loki
sa_loki
Usage Example:
Simple
- {
role: "sa_loki",
loki_version: "1.5.0"
}
Advanced
roles:
- {
role: "sa_loki",
loki_version: "1.5.0",
loki_user: loki,
loki_group: loki,
loki_base_dir: /opt/loki,
loki_enable_ruler: true
}
Connecting Clients
Unlike Prometheus, Loki uses a push model. This means that Promtail clients send data to the Loki cluster. It works well in AWS or similar clouds where private addresses are used, but if you don't have a private network, you may need to limit access a bit...
sudo ufw allow from 192.168.1.215 proto tcp to any port 3100
Using with Ansible Galaxy Workflow
If you installed the sa_loki
role using the command
ansible-galaxy install softasap.sa_loki
the role will be available in the folder library/softasap.sa_loki
. Adjust the path as needed.
- {
role: "softasap.sa_loki"
}
Copyright and License
The code is available under two licenses: BSD 3 clause and MIT License. Choose whichever works best for you.
Contact Us:
Subscribe for role updates on Facebook
Join our discussion on Gitter
Explore other roles at SoftAsap Roles Registry
Visit our blog at SoftAsap Blog