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.

Source Distribution

puppet_es-0.1.0.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

puppet_es-0.1.0-py2-none-any.whl (5.3 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page