1
0
Fork 0
arangodb/Documentation/Examples/RestReplicationLoggerFollow...

13 lines
2.0 KiB
Plaintext

shell> curl --dump - http://localhost:8529/_api/replication/logger-follow?from=10582
HTTP/1.1 200 OK
x-arango-replication-lastincluded: 10594
x-content-type-options: nosniff
content-type: application/x-arango-dump; charset=utf-8
x-arango-replication-checkmore: false
x-arango-replication-frompresent: true
x-arango-replication-active: true
x-arango-replication-lasttick: 10594
"{\"tick\":\"10584\",\"type\":2000,\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"allowUserKeys\":true,\"cid\":\"10583\",\"count\":0,\"deleted\":false,\"doCompact\":true,\"id\":\"10583\",\"indexBuckets\":8,\"indexes\":[{\"fields\":[\"_key\"],\"id\":\"0\",\"selectivityEstimate\":1,\"sparse\":false,\"type\":\"primary\",\"unique\":true}],\"isSmart\":false,\"isSystem\":false,\"isVolatile\":false,\"journalSize\":33554432,\"keyOptions\":{\"allowUserKeys\":true,\"lastValue\":0,\"type\":\"traditional\"},\"name\":\"products\",\"numberOfShards\":1,\"planId\":\"10583\",\"replicationFactor\":1,\"shardKeys\":[\"_key\"],\"shards\":{},\"status\":3,\"type\":2,\"version\":6,\"waitForSync\":false}}\n{\"tick\":\"10587\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p1\",\"_key\":\"p1\",\"_rev\":\"_VReqvEO---\",\"name\":\"flux compensator\"}}\n{\"tick\":\"10589\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_VReqvEO--_\",\"hp\":5100,\"name\":\"hybrid hovercraft\"}}\n{\"tick\":\"10591\",\"type\":2302,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"_key\":\"p1\",\"_rev\":\"_VReqvES---\"}}\n{\"tick\":\"10593\",\"type\":2300,\"tid\":\"0\",\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"_id\":\"_unknown/p2\",\"_key\":\"p2\",\"_rev\":\"_VReqvES--_\",\"hp\":5100,\"name\":\"broken hovercraft\"}}\n{\"tick\":\"10594\",\"type\":2001,\"database\":\"1\",\"cid\":\"10583\",\"cname\":\"products\",\"data\":{\"id\":\"10583\",\"name\":\"products\"}}\n"