List and filter on Logs Destination History.
| Field | Type | Required | Description |
|---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: List all of the logs destination history for a logs destination
linode.cloud.monitor_logs_destination_history:
id: 12345- name: List all of the logs destination history for a logs destination ordered by version
linode.cloud.monitor_logs_destination_history:
id: 12345
order_by: version
order: desc| Field | Type | Required | Description |
|---|---|---|---|
id |
int |
Required | The parent ID for the Logs Destination History. |
order |
str |
Optional | The order to list Logs Destination History in. (Choices: desc, asc; Default: asc) |
order_by |
str |
Optional | The attribute to order Logs Destination History by. |
filters (sub-options) |
list |
Optional | A list of filters to apply to the resulting Logs Destination History. |
count |
int |
Optional | The number of Logs Destination History to return. If undefined, all results will be returned. |
| Field | Type | Required | Description |
|---|---|---|---|
name |
str |
Required | The name of the field to filter on. Valid filterable fields can be found here. |
values |
list |
Required | A list of values to allow for this field. Fields will pass this filter if at least one of these values matches. |
-
logs_destination_history- The returned Logs Destination History.- Sample Response:
[ { "created": "2025-07-20 09:45:13", "created_by": "John Q. Linode", "details": { "access_key_id": 123, "bucket_name": "primary-bucket", "host": "primary-bucket-1.us-iad-12.linodeobjects.com", "path": "audit-logs-logs" }, "id": 12345, "label": "OBJ_logs_destination", "status": "active", "type": "akamai_object_storage", "updated": "2025-07-21 12:41:09", "updated_by": "Jane Q. Linode", "version": 2 }, { "created": "2025-07-21 10:30:15", "created_by": "Jane Q. Linode", "details": { "access_key_id": 456, "bucket_name": "secondary-bucket", "host": "secondary-bucket-1.us-iad-12.linodeobjects.com", "path": "audit-logs-backup" }, "id": 12345, "label": "OBJ_logs_backup_destination", "status": "inactive", "type": "akamai_object_storage", "updated": "2025-07-21 10:30:15", "updated_by": "Jane Q. Linode", "version": 1 } ] - See the Linode API response documentation for a list of returned fields
- Sample Response: