{"action":"created","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/881","labels_url":"https://api.github.com/repos/stedolan/jq/issues/881/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/881/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/881/events","html_url":"https://github.com/stedolan/jq/issues/881","id":98982837,"number":881,"title":"Help with jq usage to parse aws ec2 instance tags","user":{"login":"galindro","id":4622097,"avatar_url":"https://avatars.githubusercontent.com/u/4622097?v=3","gravatar_id":"","url":"https://api.github.com/users/galindro","html_url":"https://github.com/galindro","followers_url":"https://api.github.com/users/galindro/followers","following_url":"https://api.github.com/users/galindro/following{/other_user}","gists_url":"https://api.github.com/users/galindro/gists{/gist_id}","starred_url":"https://api.github.com/users/galindro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galindro/subscriptions","organizations_url":"https://api.github.com/users/galindro/orgs","repos_url":"https://api.github.com/users/galindro/repos","events_url":"https://api.github.com/users/galindro/events{/privacy}","received_events_url":"https://api.github.com/users/galindro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stedolan/jq/labels/support","name":"support","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-04T14:26:33Z","updated_at":"2015-08-04T17:05:02Z","closed_at":"2015-08-04T14:47:44Z","body":"Hi,\r\n  I need to convert this output:\r\n\r\n```json\r\n{\r\n  \"Key\": \"ssh_key\",\r\n  \"Value\": \"id_rsa.pem\"\r\n}\r\n{\r\n  \"Key\": \"ansible\",\r\n  \"Value\": \"v3p\"\r\n}\r\n{\r\n  \"Key\": \"v3_api_prod\",\r\n  \"Value\": \"True\"\r\n}\r\n{\r\n  \"Key\": \"ssh_user\",\r\n  \"Value\": \"abc\"\r\n}\r\n{\r\n  \"Key\": \"ssh_port\",\r\n  \"Value\": \"2200\"\r\n}\r\n{\r\n  \"Key\": \"aws:autoscaling:groupName\",\r\n  \"Value\": \"ASG-Api\"\r\n}\r\n{\r\n  \"Key\": \"Name\",\r\n  \"Value\": \"SV-V3-API\"\r\n}\r\n{\r\n  \"Key\": \"supervisor\",\r\n  \"Value\": \"9009\"\r\n}\r\n```\r\n\r\nto this:\r\n\r\n```json\r\n{\r\n \"ssh_key\":\"id_rsa.pem\",\r\n \"ansible\":\"v3p\",\r\n \"v3_api_prod\":\"True\",\r\n \"ssh_user\":\"abc\",\r\n \"ssh_port\":\"2200\",\r\n \"Name\":\"SV-V3-API\",\r\n \"supervisor\":\"9009\"\r\n}\r\n```\r\nNote that I need to delete this key: aws:autoscaling:groupName\r\n\r\nP.S.: Is there a group or a mailling list of jq project that I can use to post this kind of question? I think this is not the right place...\r\n"},"comment":{"url":"https://api.github.com/repos/stedolan/jq/issues/comments/127677061","html_url":"https://github.com/stedolan/jq/issues/881#issuecomment-127677061","issue_url":"https://api.github.com/repos/stedolan/jq/issues/881","id":127677061,"user":{"login":"pkoppstein","id":172847,"avatar_url":"https://avatars.githubusercontent.com/u/172847?v=3","gravatar_id":"","url":"https://api.github.com/users/pkoppstein","html_url":"https://github.com/pkoppstein","followers_url":"https://api.github.com/users/pkoppstein/followers","following_url":"https://api.github.com/users/pkoppstein/following{/other_user}","gists_url":"https://api.github.com/users/pkoppstein/gists{/gist_id}","starred_url":"https://api.github.com/users/pkoppstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkoppstein/subscriptions","organizations_url":"https://api.github.com/users/pkoppstein/orgs","repos_url":"https://api.github.com/users/pkoppstein/repos","events_url":"https://api.github.com/users/pkoppstein/events{/privacy}","received_events_url":"https://api.github.com/users/pkoppstein/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T17:05:02Z","updated_at":"2015-08-04T17:05:02Z","body":"See https://stackoverflow.com/questions/31814464/jq-to-parse-aws-ec2-instance-tags/31815239"}}