Parseable allows setting retention for each log stream. Retention is the amount of time that log data is kept in the system. Retention can be set to multiple of 1 day. Note that retention works on a stream level and each stream can have a different retention period. Also a single log stream can only have a single retention period set.
Retention can be set via API calls to a Parseable instance. Refer the API documentation for details.
Here is sample retention configuration, with all the available options.
"description": "delete logs after 20 days"
Below table explains the configuration options.
|Yes||Total duration for which logs should be retained. Can be multiple of 1 day, e.g. |
|Yes||Action to be taken when log data passes retention duration. Currently only |
|No||Human friendly description of the log retention rule.|