ansible / ansible.builtin / v2.9.27 / callback / logentries Sends events to Logentries | "added in version" 2.0 of ansible.builtin" Authors: unknownansible.builtin.logentries (v2.9.27) — callback
pip
Install with pip install ansible==2.9.27
This callback plugin will generate JSON objects and send them to Logentries via TCP for auditing/debugging purposes.
Before 2.4, if you wanted to use an ini configuration, the file must be placed in the same directory as this plugin and named logentries.ini
In 2.4 and above you can just put it in the main Ansible configuration file.
api: default: data.logentries.com description: URI to the Logentries API env: - name: LOGENTRIES_API ini: - key: api section: callback_logentries port: default: 80 description: HTTP port to use when connecting to the API env: - name: LOGENTRIES_PORT ini: - key: port section: callback_logentries token: description: The logentries "TCP token" env: - name: LOGENTRIES_ANSIBLE_TOKEN ini: - key: token section: callback_logentries required: true flatten: default: false description: flatten complex data structures into a single dictionary with complex keys env: - name: LOGENTRIES_FLATTEN ini: - key: flatten section: callback_logentries type: boolean use_tls: default: false description: - Toggle to decide whether to use TLS to encrypt the communications with the API server env: - name: LOGENTRIES_USE_TLS ini: - key: use_tls section: callback_logentries type: boolean tls_port: default: 443 description: Port to use when connecting to the API when TLS is enabled env: - name: LOGENTRIES_TLS_PORT ini: - key: tls_port section: callback_logentries