diff --git a/Filer-Change-Data-Capture.md b/Filer-Change-Data-Capture.md index 11f0f6f..5f52058 100644 --- a/Filer-Change-Data-Capture.md +++ b/Filer-Change-Data-Capture.md @@ -5,7 +5,7 @@ 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 { "name": "abc.png", @@ -40,7 +40,7 @@ $ weed filer.meta.tail -timeAgo=3h | jq .eventNotification.newEntry See the help: -``` +```console $ weed filer.meta.tail -h Example: weed filer.meta.tail [-filer=localhost:8888] [-target=/] Default Usage: @@ -62,7 +62,7 @@ Description: ``` If configured Elastic Search server names, the meta data will be sent to Elastic Search -``` +```console $ weed filer.meta.tail -es=http://localhost:9200 ```