diff --git a/Filer-Change-Data-Capture.md b/Filer-Change-Data-Capture.md index 5f52058..57de8ca 100644 --- a/Filer-Change-Data-Capture.md +++ b/Filer-Change-Data-Capture.md @@ -4,9 +4,14 @@ Actually SeaweedFS can give you more! # Experience it first -You can continuously watch the SeaweedFS meta data changes. Let's also filter with `jq` and see only the new files created: -```console -$ weed filer.meta.tail -timeAgo=3h | jq .eventNotification.newEntry +You can continuously watch the SeaweedFS meta data changes. Let's also filter with `jq` and see only the new files created using this command: +```bash +weed filer.meta.tail -timeAgo=3h | jq .eventNotification.newEntry +``` + +which will return: + +```json { "name": "abc.png", "chunks": [ @@ -33,9 +38,7 @@ $ weed filer.meta.tail -timeAgo=3h | jq .eventNotification.newEntry "md5": "KEjYEZgpc//aNM+MhZnj9g==" } } - -... - +\\ the rest has been truncated for brevity ``` See the help: