2017-10-04 12:07:42 +00:00
|
|
|
# Describes the format for available recorder services
|
|
|
|
|
|
|
|
purge:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Purge
|
|
|
|
description: Start purge task - to clean up old data from your database.
|
2017-10-04 12:07:42 +00:00
|
|
|
fields:
|
|
|
|
keep_days:
|
2021-02-18 16:06:25 +00:00
|
|
|
name: Days to keep
|
|
|
|
description: Number of history days to keep in database after purge.
|
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 365
|
|
|
|
unit_of_measurement: days
|
|
|
|
|
2018-02-11 21:22:59 +00:00
|
|
|
repack:
|
2021-02-18 16:06:25 +00:00
|
|
|
name: Repack
|
2021-05-22 15:30:05 +00:00
|
|
|
description: Attempt to save disk space by rewriting the entire database file.
|
2021-02-18 16:06:25 +00:00
|
|
|
default: false
|
|
|
|
selector:
|
|
|
|
boolean:
|
2021-02-24 13:26:05 +00:00
|
|
|
|
2021-03-12 03:03:30 +00:00
|
|
|
apply_filter:
|
|
|
|
name: Apply filter
|
|
|
|
description: Apply entity_id and event_type filter in addition to time based purge.
|
|
|
|
default: false
|
|
|
|
selector:
|
|
|
|
boolean:
|
|
|
|
|
2021-05-22 15:30:05 +00:00
|
|
|
purge_entities:
|
|
|
|
name: Purge Entities
|
|
|
|
description: Start purge task to remove specific entities from your database.
|
|
|
|
target:
|
|
|
|
entity: {}
|
|
|
|
fields:
|
|
|
|
domains:
|
|
|
|
name: Domains to remove
|
|
|
|
description: List the domains that need to be removed from the recorder database.
|
|
|
|
example: "sun"
|
|
|
|
required: false
|
|
|
|
default: []
|
|
|
|
selector:
|
|
|
|
object:
|
|
|
|
|
|
|
|
entity_globs:
|
|
|
|
name: Entity Globs to remove
|
|
|
|
description: List the regular expressions to select entities for removal from the recorder database.
|
|
|
|
example: "domain*.object_id*"
|
|
|
|
required: false
|
|
|
|
default: []
|
|
|
|
selector:
|
|
|
|
object:
|
|
|
|
|
2021-02-24 13:26:05 +00:00
|
|
|
disable:
|
2021-05-15 05:07:17 +00:00
|
|
|
name: Disable
|
2021-02-24 13:26:05 +00:00
|
|
|
description: Stop the recording of events and state changes
|
|
|
|
|
2021-05-15 05:07:17 +00:00
|
|
|
enable:
|
|
|
|
name: Enable
|
2021-02-24 13:26:05 +00:00
|
|
|
description: Start the recording of events and state changes
|