Skip to content

Log snapshot restores at INFO level #86610

@DaveCTurner

Description

@DaveCTurner

Today we don't record the start or end of a snapshot restore in the server logs by default (or even at DEBUG level). In contrast we do record regular index creation, and also the start and end of every snapshot. Snapshot restores are relatively rare, and it would definitely be helpful to see them in the logs.

I think we wouldn't want to see restores related to mounting searchable snapshots, nor creation of CCR followers, so we'd need a silent parameter rather like we have for index creation requests. I think we would usually want to see details of the restore request (e.g. the index pattern) in the log message.

Metadata

Metadata

Assignees

Labels

:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIs>enhancementSupportabilityImprove our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better.Team:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions