{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/chronograf/issues/2795","repository_url":"https://api.github.com/repos/influxdata/chronograf","labels_url":"https://api.github.com/repos/influxdata/chronograf/issues/2795/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/chronograf/issues/2795/comments","events_url":"https://api.github.com/repos/influxdata/chronograf/issues/2795/events","html_url":"https://github.com/influxdata/chronograf/issues/2795","id":296041688,"number":2795,"title":"Export to CSV broken in 1.4.0.1","user":{"login":"binary0111","id":32945450,"avatar_url":"https://avatars3.githubusercontent.com/u/32945450?v=4","gravatar_id":"","url":"https://api.github.com/users/binary0111","html_url":"https://github.com/binary0111","followers_url":"https://api.github.com/users/binary0111/followers","following_url":"https://api.github.com/users/binary0111/following{/other_user}","gists_url":"https://api.github.com/users/binary0111/gists{/gist_id}","starred_url":"https://api.github.com/users/binary0111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary0111/subscriptions","organizations_url":"https://api.github.com/users/binary0111/orgs","repos_url":"https://api.github.com/users/binary0111/repos","events_url":"https://api.github.com/users/binary0111/events{/privacy}","received_events_url":"https://api.github.com/users/binary0111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-09T23:16:42Z","updated_at":"2018-02-13T03:34:18Z","closed_at":null,"author_association":"NONE","body":"I get an error - \"Unable to download .csv file\" when trying to export anything to CSV via Chronograf\r\n\r\n```\r\n# chronograf -v\r\n2018/02/09 23:15:37 Chronograf 1.4.0.1 (git: a5e9baf0d6ee128792f7e8e804401ac8e05ce68b)\r\n```\r\n\r\n```\r\ntime=\"2018-02-09T23:14:32Z\" level=debug msg=Request component=server method=GET remote_addr=\"127.0.0.1:59766\" url=/chronograf/v1/me\r\ntime=\"2018-02-09T23:14:32Z\" level=info msg=\"Response: OK\" component=server method=GET remote_addr=\"127.0.0.1:59766\" response_time=\"180.06µs\" status=200\r\ntime=\"2018-02-09T23:14:33Z\" level=debug msg=Request component=server method=POST remote_addr=\"127.0.0.1:59766\" url=/chronograf/v1/sources/1/proxy\r\ntime=\"2018-02-09T23:14:33Z\" level=debug msg=query command=\"SHOW DATABASES\" component=proxy db= host=\"localhost:8086\" rp=\r\ntime=\"2018-02-09T23:14:33Z\" level=info msg=\"Response: OK\" component=server method=POST remote_addr=\"127.0.0.1:59766\" response_time=2.704092ms status=200\r\ntime=\"2018-02-09T23:14:33Z\" level=debug msg=Request component=server method=POST remote_addr=\"127.0.0.1:59766\" url=/chronograf/v1/sources/1/proxy\r\ntime=\"2018-02-09T23:14:33Z\" level=debug msg=query command=\"SELECT mean(\\\"time_active\\\") AS \\\"mean_time_active\\\" FROM \\\"telegraf\\\".\\\"test\\\".\\\"cpu\\\" WHERE time > now() - 7d GROUP BY :interval: FILL(null)\" component=proxy db= host=\"localhost:8086\" rp=\r\ntime=\"2018-02-09T23:14:33Z\" level=error msg=\"Error message received status code 400 from server: err: error parsing query: found :, expected identifier, string, number, bool at line 1, char 110\" component=server http_status =400\r\ntime=\"2018-02-09T23:14:33Z\" level=info msg=\"Response: Bad Request\" component=server method=POST remote_addr=\"127.0.0.1:59766\" response_time=2.233541ms status=400\r\n```"},"comment":{"url":"https://api.github.com/repos/influxdata/chronograf/issues/comments/365140836","html_url":"https://github.com/influxdata/chronograf/issues/2795#issuecomment-365140836","issue_url":"https://api.github.com/repos/influxdata/chronograf/issues/2795","id":365140836,"user":{"login":"binary0111","id":32945450,"avatar_url":"https://avatars3.githubusercontent.com/u/32945450?v=4","gravatar_id":"","url":"https://api.github.com/users/binary0111","html_url":"https://github.com/binary0111","followers_url":"https://api.github.com/users/binary0111/followers","following_url":"https://api.github.com/users/binary0111/following{/other_user}","gists_url":"https://api.github.com/users/binary0111/gists{/gist_id}","starred_url":"https://api.github.com/users/binary0111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary0111/subscriptions","organizations_url":"https://api.github.com/users/binary0111/orgs","repos_url":"https://api.github.com/users/binary0111/repos","events_url":"https://api.github.com/users/binary0111/events{/privacy}","received_events_url":"https://api.github.com/users/binary0111/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T03:34:18Z","updated_at":"2018-02-13T03:34:18Z","author_association":"NONE","body":"Ah yes\r\n\r\n```\r\ntime=\"2018-02-13T03:31:49Z\" level=debug msg=query command=\"SELECT mean(\\\"free\\\") AS \\\"mean_free\\\" FROM \\\"telegraf\\\".\\\"test\\\".\\\"disk\\\" WHERE time > now() - 1h GROUP BY :interval: FILL(\r\nnull)\" component=proxy db= host=\"localhost:8086\" rp=\r\ntime=\"2018-02-13T03:31:49Z\" level=error msg=\"Error message received status code 400 from server: err: error parsing query: found :, expected identifier, string, number, bool at line\r\n 1, char 97\" component=server http_status =400\r\ntime=\"2018-02-13T03:31:49Z\" level=info msg=\"Response: Bad Request\" component=server method=POST remote_addr=\"127.0.0.1:59766\" response_time=2.139491ms status=400\r\ntime=\"2018-02-13T03:31:52Z\" level=debug msg=Request component=server method=POST remote_addr=\"127.0.0.1:59766\" url=/chronograf/v1/sources/1/proxy\r\n\r\nvs\r\n\r\ntime=\"2018-02-13T03:31:52Z\" level=debug msg=query command=\"SELECT mean(\\\"free\\\") AS \\\"mean_free\\\" FROM \\\"telegraf\\\".\\\"test\\\".\\\"disk\\\" WHERE time > now() - 1h GROUP BY time(10s) FILL(n\r\null)\" component=proxy db= host=\"localhost:8086\" rp=\r\n```\r\n\r\nLink https://github.com/influxdata/chronograf/issues/2809\r\n"}}
{"actor":{"display_login":"binary0111"}}