New in version 1.6.
| Parameter | Choices/Defaults | Comments |
|---|---|---|
| logtype |
type of the log
|
|
| name |
name of the log
|
|
|
path
required |
path to a log file
|
|
| state |
|
following state of the log
|
Note
# 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
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Hint
If you notice any issues in this documentation you can edit this document to improve it.