aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-10-31 18:01:33 -0700
committerChris Lu <chris.lu@gmail.com>2021-10-31 18:01:33 -0700
commitedbf6d297b923b803b2406662e9eedf59915363a (patch)
tree6f08cb70a8bab1ee43b8cf160114af8c6991a90f
parent24858507cca1429bb499c2bdb13236f9ef98d599 (diff)
downloadseaweedfs-edbf6d297b923b803b2406662e9eedf59915363a.tar.xz
seaweedfs-edbf6d297b923b803b2406662e9eedf59915363a.zip
filer.meta.tail: add example to send metadata to elastic search
-rw-r--r--weed/command/filer_meta_tail.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/filer_meta_tail.go b/weed/command/filer_meta_tail.go
index cff39fe49..26b155440 100644
--- a/weed/command/filer_meta_tail.go
+++ b/weed/command/filer_meta_tail.go
@@ -30,6 +30,8 @@ var cmdFilerMetaTail = &Command{
weed filer.meta.tail -timeAgo=30h | jq .
weed filer.meta.tail -timeAgo=30h | jq .eventNotification.newEntry.name
+ weed filer.meta.tail -timeAgo=30h -es=http://<elasticSearchServerHost>:<port> -es.index=seaweedfs
+
`,
}