{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/7260","repository_url":"https://api.github.com/repos/influxdata/influxdb","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/7260/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/7260/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/7260/events","html_url":"https://github.com/influxdata/influxdb/issues/7260","id":175277081,"number":7260,"title":"querying_data missing output format line protocol?","user":{"login":"steverweber","id":1800619,"avatar_url":"https://avatars.githubusercontent.com/u/1800619?v=3","gravatar_id":"","url":"https://api.github.com/users/steverweber","html_url":"https://github.com/steverweber","followers_url":"https://api.github.com/users/steverweber/followers","following_url":"https://api.github.com/users/steverweber/following{/other_user}","gists_url":"https://api.github.com/users/steverweber/gists{/gist_id}","starred_url":"https://api.github.com/users/steverweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steverweber/subscriptions","organizations_url":"https://api.github.com/users/steverweber/orgs","repos_url":"https://api.github.com/users/steverweber/repos","events_url":"https://api.github.com/users/steverweber/events{/privacy}","received_events_url":"https://api.github.com/users/steverweber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/influxdata/influxdb/labels/area/tooling","name":"area/tooling","color":"fbca04"},{"url":"https://api.github.com/repos/influxdata/influxdb/labels/kind/enhancement","name":"kind/enhancement","color":"0e8a16"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-06T15:26:54Z","updated_at":"2016-09-16T16:08:42Z","closed_at":"2016-09-16T16:08:41Z","body":"https://docs.influxdata.com/influxdb/v0.13/guides/querying_data/\r\n\r\nquerying data API seems to be missing output format \"line protocol\" as an option. \r\nEDIT related to : https://github.com/influxdata/influxdb/issues/6234\r\n\r\nThis option would make dumping and importing data simple like it was in the past with JSON.\r\n\r\n```\r\nperhaps something like: format=line\r\n\r\ncurl -GET 'http://localhost:8086/query' --data-urlencode 'db=somedb' \\\r\n    --data-urlencode 'format=line' \\\r\n    --data-urlencode 'epoch=ms' \\\r\n    --data-urlencode 'q=SELECT * from oat01_action' | gzip > dump\r\n\r\ncat dump | gzip -d | \\\r\n    curl -XPOST -d @- 'http://host2:8086/db/test/series?u=xzc&p=zxvcwae'\r\n```\r\n\r\nsomething like the above was simple when writing using JSON was enabled... sadly that is now gone.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/247640856","html_url":"https://github.com/influxdata/influxdb/issues/7260#issuecomment-247640856","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/7260","id":247640856,"user":{"login":"jwilder","id":219935,"avatar_url":"https://avatars.githubusercontent.com/u/219935?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilder","html_url":"https://github.com/jwilder","followers_url":"https://api.github.com/users/jwilder/followers","following_url":"https://api.github.com/users/jwilder/following{/other_user}","gists_url":"https://api.github.com/users/jwilder/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilder/subscriptions","organizations_url":"https://api.github.com/users/jwilder/orgs","repos_url":"https://api.github.com/users/jwilder/repos","events_url":"https://api.github.com/users/jwilder/events{/privacy}","received_events_url":"https://api.github.com/users/jwilder/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T16:08:41Z","updated_at":"2016-09-16T16:08:41Z","body":"The export tool is really the way to export shard data.  Converting the precision is something you'll need to do after on the exports themselves."}}
{"actor":{"display_login":"jwilder"}}