ansible / ansible.builtin / v2.6.0 / module / logentries Module for tracking logs via logentries.com | "added in version" 1.6 of ansible.builtin" Authors: Ivan Vanderbyl (@ivanvanderbyl) preview | supported by communityansible.builtin.logentries (v2.6.0) — module
pip
Install with pip install ansible==2.6.0
Sends logs to LogEntries in realtime
# Track nginx logs - logentries: path: /var/log/nginx/access.log state: present name: nginx-access-log
# Stop tracking nginx logs - logentries: path: /var/log/nginx/error.log state: absent
name: description: - name of the log required: false path: description: - path to a log file required: true state: choices: - present - absent default: present description: - following state of the log required: false logtype: description: - type of the log required: false