loki

pdk
Like Prometheus, but for logs

6,342 downloads

296 latest version

5.0 quality score

Version information

  • 3.0.0 (latest)
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.2.0
  • 1.1.0
  • 1.0.0
  • 0.1.0
released Mar 18th 2025
This version is compatible with:
  • Puppet Enterprise 2025.3.x, 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x
  • Puppet >= 7.9.0 < 9.0.0
  • Debian
    ,
    Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'attachmentgenie-loki', '3.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add attachmentgenie-loki
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install attachmentgenie-loki --version 3.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

attachmentgenie/loki — version 3.0.0 Mar 18th 2025

attachmentgenie-loki

Spec Tests License

Deploy and configure loki on a node.

Description

Loki

It primarily:

  1. Discovers targets
  2. Attaches labels to log streams
  3. Pushes them to the Loki instance.

Currently, Loki can tail logs from two sources: local log files and the systemd journal (on AMD64 machines only).

Usage

All options and configuration can be done through interacting with the parameters on the main loki class. These are now documented via Puppet Strings

You can view example usage in REFERENCE.

## Reference

See [REFERENCE](REFERENCE.md).

## Limitations

This is where you list OS compatibility, version compatibility, etc.

## Development

### Running tests

This project contains tests for both rspec-puppet and litmus to verify functionality. For detailed information on using these tools, please see their respective documentation.

#### Testing quickstart:

pdk bundle install pdk bundle exec rake 'litmus:provision_list[puppet8]' pdk bundle exec rake 'litmus:install_agent[puppet8]' pdk bundle exec rake 'litmus:install_module' pdk bundle exec rake 'litmus:acceptance:parallel' pdk bundle exec rake 'litmus:tear_down'