Skip to main content

Tooling for submitting JSON dumps of Puppet reports to ElasticSearch

Project description

# send_report_to_es

## Summary

Send a puppet report to ElasticSearch.

Configuration is read from the file specified in the environment variable PUPPET_ES_CONFIG (defaults to /etc/puppet_es.conf) and uses ConfigParser syntax. A sample configuration file is included as [etc/puppet_es.conf.example](etc/puppet_es.conf.example).

## Usage

### Command

~~~bash send_report_to_es [-h|–help] <filename> ~~~

### Options

~~~ -h/–help Show this help text and exit ~~~

### Parameters

~~~ filename The JSON file for the report to load and send to ElasticSearch ~~~

## Configuring ElasticSearch

An example ElasticSearch template that supports the format this script uses can be found at [etc/puppet_template.json](etc/puppet_template.json).

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for puppet-es, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size puppet_es-0.1.0-py2-none-any.whl (5.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size puppet_es-0.1.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page