Skip to content

Commit

Permalink
Update log post endpoint
Browse files Browse the repository at this point in the history
In zq#1336, the uri for posting paths for log ingest changes from
/space/:spaceid/logs to /space/:spaceid/logs/paths.

The previous uri will now serve and endpoint that allows for logs to streamed
over the network using http multipart forms.
  • Loading branch information
mattnibs committed Nov 13, 2020
1 parent 626b398 commit c9a1ee0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"styled-components": "^5.1.1",
"valid-url": "^1.0.9",
"zealot": "file:zealot",
"zq": "git+https://github.com/brimsec/zq.git#067eb47e508bc90466ab6136d5e13ffd18bbe9f9"
"zq": "git+https://github.com/brimsec/zq.git#80150da05b769d205d8a9ab3a637f24cd7d54ed1"
},
"optionalDependencies": {
"electron-installer-debian": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion zealot/src/api/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
post({spaceId, paths, types}: LogsPostArgs) {
return {
method: "POST",
path: `/space/${encodeURIComponent(spaceId)}/log`,
path: `/space/${encodeURIComponent(spaceId)}/log/paths`,
body: getBody(paths, types)
}
}
Expand Down

0 comments on commit c9a1ee0

Please sign in to comment.