{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/kapacitor/issues/1104","repository_url":"https://api.github.com/repos/influxdata/kapacitor","labels_url":"https://api.github.com/repos/influxdata/kapacitor/issues/1104/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/kapacitor/issues/1104/comments","events_url":"https://api.github.com/repos/influxdata/kapacitor/issues/1104/events","html_url":"https://github.com/influxdata/kapacitor/issues/1104","id":198651107,"number":1104,"title":"HTTP API create a task, response 204","user":{"login":"xigang","id":3377677,"avatar_url":"https://avatars0.githubusercontent.com/u/3377677?v=3","gravatar_id":"","url":"https://api.github.com/users/xigang","html_url":"https://github.com/xigang","followers_url":"https://api.github.com/users/xigang/followers","following_url":"https://api.github.com/users/xigang/following{/other_user}","gists_url":"https://api.github.com/users/xigang/gists{/gist_id}","starred_url":"https://api.github.com/users/xigang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xigang/subscriptions","organizations_url":"https://api.github.com/users/xigang/orgs","repos_url":"https://api.github.com/users/xigang/repos","events_url":"https://api.github.com/users/xigang/events{/privacy}","received_events_url":"https://api.github.com/users/xigang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-04T08:13:40Z","updated_at":"2017-04-03T12:19:36Z","closed_at":"2017-01-04T13:04:55Z","body":"Create a task, response 204.\r\n\r\nrequest:\r\n~~~\r\ncurl -X POST -d '{\"id\":\"cc\",\"type\":\"stream\",\"dbrps\":[{\"db\":\"kapacitor_example\",\"rp\":\"autogen\"}],\"script\":\"stream\\n    |from()\\n        .measurement('cpu')\\n\"' http://localhost:9092/kapacitor/v1/tasks/\r\n~~~\r\n\r\nreponse:\r\n\r\n~~~\r\n{\r\n    \"error\": \"Not Found\"\r\n}\r\n~~~\r\n\r\nkapacitor.log\r\n\r\n~~~\r\n[httpd] 127.0.0.1 - - [04/Jan/2017:16:13:10 +0800] \"POST /write?consistency=&db=_internal&precision=ns&rp=monitor HTTP/1.1\" 204 0 \"-\" \"InfluxDBClient\" a1367f88-d255-11e6-873b-000000000000 3877\r\n[httpd] 127.0.0.1 - - [04/Jan/2017:16:13:10 +0800] \"POST /write?consistency=&db=telegraf&precision=ns&rp=autogen HTTP/1.1\" 204 0 \"-\" \"InfluxDBClient\" a1631e67-d255-11e6-873c-000000000000 2072\r\n[httpd] 127.0.0.1 - - [04/Jan/2017:16:13:18 +0800] \"POST /write?consistency=&db=telegraf&precision=ns&rp=autogen HTTP/1.1\" 204 0 \"-\" \"InfluxDBClient\" a628cbd1-d255-11e6-873d-000000000000 18574\r\n[httpd] 127.0.0.1 - - [04/Jan/2017:16:13:18 +0800] \"POST /write?consistency=&db=kapacitor_example&precision=ns&rp=autogen HTTP/1.1\" 204 0 \"-\" \"InfluxDBClient\" a6291719-d255-11e6-873e-000000000000 19195\r\n[httpd] 127.0.0.1 - - [04/Jan/2017:16:13:20 +0800] \"POST /write?consistency=&db=_internal&precision=ns&rp=monitor HTTP/1.1\" 204 0 \"-\" \"InfluxDBClient\" a72cfb5d-d255-11e6-873f-000000000000 3292\r\n~~~"},"comment":{"url":"https://api.github.com/repos/influxdata/kapacitor/issues/comments/291126604","html_url":"https://github.com/influxdata/kapacitor/issues/1104#issuecomment-291126604","issue_url":"https://api.github.com/repos/influxdata/kapacitor/issues/1104","id":291126604,"user":{"login":"Raouf-Hammami-27","id":16944467,"avatar_url":"https://avatars1.githubusercontent.com/u/16944467?v=3","gravatar_id":"","url":"https://api.github.com/users/Raouf-Hammami-27","html_url":"https://github.com/Raouf-Hammami-27","followers_url":"https://api.github.com/users/Raouf-Hammami-27/followers","following_url":"https://api.github.com/users/Raouf-Hammami-27/following{/other_user}","gists_url":"https://api.github.com/users/Raouf-Hammami-27/gists{/gist_id}","starred_url":"https://api.github.com/users/Raouf-Hammami-27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raouf-Hammami-27/subscriptions","organizations_url":"https://api.github.com/users/Raouf-Hammami-27/orgs","repos_url":"https://api.github.com/users/Raouf-Hammami-27/repos","events_url":"https://api.github.com/users/Raouf-Hammami-27/events{/privacy}","received_events_url":"https://api.github.com/users/Raouf-Hammami-27/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T12:19:36Z","updated_at":"2017-04-03T12:19:36Z","body":"@xigang i'm stuck at this issue too, how did you solve it , thanks in advance \r\n"}}
{"actor":{"display_login":"Raouf-Hammami-27"}}