Install OpenData Log
Download and install the Log binary:opendata-log binary in the current directory.
Start the server
Start Log on port 8081:.data/ by default.
Append records
Append three order events to theorders key. Keys and values are
base64-encoded in the JSON body:
| Base64 | Plain text |
|---|---|
b3JkZXJz | orders |
eyJpdGVtIjoid2lkZ2V0IiwicXR5IjozLCJwcmljZSI6OS45OX0= | {"item":"widget","qty":3,"price":9.99} |
eyJpdGVtIjoiZ2FkZ2V0IiwicXR5IjoxLCJwcmljZSI6MjQuOTV9 | {"item":"gadget","qty":1,"price":24.95} |
eyJpdGVtIjoid2lkZ2V0IiwicXR5IjoxMCwicHJpY2UiOjkuOTl9 | {"item":"widget","qty":10,"price":9.99} |
Read records back
Scan all entries for theorders key:
limit to paginate through large result sets:
Explore more endpoints
List all keys in the log:Next steps
- Explore the full API in the API reference section in the sidebar.
- Learn how segments and compaction work in Storage design.