community / community.general / 6.6.8 / callback / logentries Sends events to Logentries Authors: Unknown (!UNKNOWN)community.general.logentries (6.6.8) — callback
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
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 C(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 C(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