{"action":"opened","issue":{"url":"https://api.github.com/repos/rakutentech/virtstat-splunk/issues/2","labels_url":"https://api.github.com/repos/rakutentech/virtstat-splunk/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rakutentech/virtstat-splunk/issues/2/comments","events_url":"https://api.github.com/repos/rakutentech/virtstat-splunk/issues/2/events","html_url":"https://github.com/rakutentech/virtstat-splunk/issues/2","id":102714689,"number":2,"title":"Add device list to statistics results","user":{"login":"shuichiro-makigaki","id":8788139,"avatar_url":"https://avatars.githubusercontent.com/u/8788139?v=3","gravatar_id":"","url":"https://api.github.com/users/shuichiro-makigaki","html_url":"https://github.com/shuichiro-makigaki","followers_url":"https://api.github.com/users/shuichiro-makigaki/followers","following_url":"https://api.github.com/users/shuichiro-makigaki/following{/other_user}","gists_url":"https://api.github.com/users/shuichiro-makigaki/gists{/gist_id}","starred_url":"https://api.github.com/users/shuichiro-makigaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shuichiro-makigaki/subscriptions","organizations_url":"https://api.github.com/users/shuichiro-makigaki/orgs","repos_url":"https://api.github.com/users/shuichiro-makigaki/repos","events_url":"https://api.github.com/users/shuichiro-makigaki/events{/privacy}","received_events_url":"https://api.github.com/users/shuichiro-makigaki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rakutentech/virtstat-splunk/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/rakutentech/virtstat-splunk/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-24T06:08:50Z","updated_at":"2015-08-24T06:08:50Z","closed_at":null,"body":"Current JSON result doesn't have a list of devices:\r\n\r\n```json\r\n\"block_info\": {\r\n    \"vda\": {\r\n        \"allocation\": 1629622272,\r\n        \"capacity\": 19327352832,\r\n        \"physical\": 1629622272\r\n    },\r\n    \"vdb\": {\r\n        \"allocation\": 200704,\r\n        \"capacity\": 2147483648,\r\n        \"physical\": 200704\r\n    }\r\n}\r\n```\r\n\r\nIt's better to have `devices` key such as:\r\n\r\n```json\r\n\"block_info\": {\r\n    \"devices\": [\"vda\", \"vdb\"],\r\n    \"vda\": {\r\n        \"allocation\": 1629622272,\r\n        \"capacity\": 19327352832,\r\n        \"physical\": 1629622272\r\n    },\r\n    \"vdb\": {\r\n        \"allocation\": 200704,\r\n        \"capacity\": 2147483648,\r\n        \"physical\": 200704\r\n    }\r\n}\r\n```\r\n\r\nThis is useful to summarize statistics on Splunk.\r\n\r\n`block_stats` and `interface_stats` should have it as well."}}