We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page: https://github.com/influxdata/kapacitor/blob/master/client/API.md#tasks
Documentation example says you can do:
POST /kapacitor/v1/tasks/ { "id" : "TASK_ID", "type" : "stream", "dbrps": [{"db": "DATABASE_NAME", "rp" : "RP_NAME"}], "script": "stream\n |from()\n .measurement('cpu')\n" }
However, doing so results in an error. You can make this work if you do:
POST /kapacitor/v1/tasks/ { "id" : "TASK_ID", "type" : "stream", "dbrps": [{"db": "DATABASE_NAME", "rp" : "RP_NAME"}], "script": "stream\n |from()\n .measurement('cpu')\n", "status": "enabled" }
The text was updated successfully, but these errors were encountered:
@mglazer Thanks for filing these issues. I'll make sure we get a fix out today on these. Sorry for the hassle.
Sorry, something went wrong.
No branches or pull requests
Page: https://github.com/influxdata/kapacitor/blob/master/client/API.md#tasks
Documentation example says you can do:
However, doing so results in an error. You can make this work if you do:
The text was updated successfully, but these errors were encountered: