https://github.com/claranet/ansible-runner-beats
An Elastic Beats plugin for Ansible Runner
https://github.com/claranet/ansible-runner-beats
ansible ansible-runner beats claranet
Last synced: 6 months ago
JSON representation
An Elastic Beats plugin for Ansible Runner
- Host: GitHub
- URL: https://github.com/claranet/ansible-runner-beats
- Owner: claranet
- License: mpl-2.0
- Created: 2022-12-09T15:19:30.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T13:27:35.000Z (over 1 year ago)
- Last Synced: 2025-03-23T14:38:35.716Z (7 months ago)
- Topics: ansible, ansible-runner, beats, claranet
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Runner beats Event Emitter
[](https://www.claranet.fr/)
[](LICENSE)
[](https://pypi.org/project/ansible-runner-beats/#history)This project is a plugin for [Ansible Runner](https://github.com/ansible/ansible-runner) that allows emitting Ansible status and events to Logstash through the Beats protocol. This can allow `Runner` to notify other systems as Ansible jobs are run and to deliver key events to that system if it's interested.
It is useful to send data to Logstash through the Beats protocol.
This plugin is inspired by [ansible-runner-http](https://github.com/ansible/ansible-runner-http) licensed under Apache License 2.0
## :zap: Installation
```bash
python3 -m pip install ansible-runner-beats
```## :gear: Variables
Runner config | Environment variable | Default value
---------------------------|----------------------------|----------------------------
runner_beats_host | RUNNER_BEATS_HOST | None
runner_beats_port | RUNNER_BEATS_PORT | None
runner_beats_ssl_cert | RUNNER_BEATS_SSL_CERT | ""
runner_beats_ssl_key | RUNNER_BEATS_SSL_KEY | ""
runner_beats_ssl_ca | RUNNER_BEATS_SSL_CA | ""
runner_beats_custom_fields | RUNNER_BEATS_CUSTOM_FIELDS | {}The plugin also register an environment variable named `RUNNER_BEATS_TIMEDOUT` if the beats endpoint is not available
## :copyright: [License](LICENSE)
[Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/)