Skip to content

feature: log retention configuration #304

@nitisht

Description

@nitisht

Retention configuration should allow users to Delete or Archive a log stream's content after certain number of days.

Endpoint PUT {{endpoint}}/api/v1/logstream/{{stream_name}}/retention

{
	"retention": [{
			"name": "delete logs after 30d days of ingestion",
			"action": "delete",
			"after": "30d"
		},
		{
			"name": "archive logs after 10d days of ingestion",
			"action": "archive",
			"after": "10d"
		}
	]
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions