File content read and verify the content is upto date with current timestamp


I have a use-case to verify a text file on a regular basis, whether it got updated with a current timestamp of the running server.
The scenario will be like this:
I want to verify the rsync process from multiple s3 buckets to one server directory. This verification I want to validate with sample file, which triggers from one s3 bucket and rsync is running properly. Is there any direct metric to do that? or Do I need to write a plugin for this?

Thanks in advance.

Hi @narenthirasamy.r - The post below may give you some idea of how this could be achieved. Not sure it meets your specific use case though.

1 Like

@narenthirasamy.r Let us know if Stefan’s suggestion helped get you closer! :blush:

1 Like