Cloud Storage: Stackdriver Monitoring Age of a file before its deleted

52 views
Skip to first unread message

Chavya Khanna

unread,
Nov 21, 2022, 2:49:07 PM11/21/22
to Google Stackdriver Discussion Forum
Hello Everyone,

Just curious is there a way we can identify Age of a file before it got deleted?

Use Case: Alert in an event if a specific(pdf) file stays in a particular Bucket for more than 15 minutes

We have Logs displaying create/get/delete events - However, i am still unable to capture age of a file using MQL.

Was hoping if i could get some assistance/guidance on this.

Regards

Chavya Khanna

unread,
May 1, 2023, 2:55:10 PM5/1/23
to Google Stackdriver Discussion Forum
Hello,

Just checking - has anyone tried this before? to capture Age of a file with one simple MQL?

Regards,

Reply all
Reply to author
Forward
0 new messages