{"action":"created","issue":{"url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/5","repository_url":"https://api.github.com/repos/CryptonZylog/carbonator","labels_url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/5/comments","events_url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/5/events","html_url":"https://github.com/CryptonZylog/carbonator/issues/5","id":123634548,"number":5,"title":"Adding \"*\" Instances","user":{"login":"Cylindric","id":215695,"avatar_url":"https://avatars.githubusercontent.com/u/215695?v=3","gravatar_id":"","url":"https://api.github.com/users/Cylindric","html_url":"https://github.com/Cylindric","followers_url":"https://api.github.com/users/Cylindric/followers","following_url":"https://api.github.com/users/Cylindric/following{/other_user}","gists_url":"https://api.github.com/users/Cylindric/gists{/gist_id}","starred_url":"https://api.github.com/users/Cylindric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cylindric/subscriptions","organizations_url":"https://api.github.com/users/Cylindric/orgs","repos_url":"https://api.github.com/users/Cylindric/repos","events_url":"https://api.github.com/users/Cylindric/events{/privacy}","received_events_url":"https://api.github.com/users/Cylindric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CryptonZylog/carbonator/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CryptonZylog/carbonator/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"CryptonZylog","id":1175100,"avatar_url":"https://avatars.githubusercontent.com/u/1175100?v=3","gravatar_id":"","url":"https://api.github.com/users/CryptonZylog","html_url":"https://github.com/CryptonZylog","followers_url":"https://api.github.com/users/CryptonZylog/followers","following_url":"https://api.github.com/users/CryptonZylog/following{/other_user}","gists_url":"https://api.github.com/users/CryptonZylog/gists{/gist_id}","starred_url":"https://api.github.com/users/CryptonZylog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryptonZylog/subscriptions","organizations_url":"https://api.github.com/users/CryptonZylog/orgs","repos_url":"https://api.github.com/users/CryptonZylog/repos","events_url":"https://api.github.com/users/CryptonZylog/events{/privacy}","received_events_url":"https://api.github.com/users/CryptonZylog/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-12-23T10:20:55Z","updated_at":"2016-03-03T17:50:18Z","closed_at":null,"body":"Hi. I've just started looking at using Carbonator to ship perfmon data to ElasticSearch. We run many SQL databases on many SQL instances, so maintaining the configuration file with lots of individual counters is quite hard. Would it be possible to specify an instance of \"*\", a bit like in perfmon itself, and have Carbonator then create one report for each returned instance?\r\n\r\nFor example, if we have a changing number of drives, instead of this:\r\n\r\n    <counters>\r\n      <add path=\"%HOST% LogicalDisk FreeSpace C\" category=\"LogicalDisk\" counter=\"% Free Space\" instance=\"C:\" />\r\n      <add path=\"%HOST% LogicalDisk FreeSpace D\" category=\"LogicalDisk\" counter=\"% Free Space\" instance=\"D:\" />\r\n      <add path=\"%HOST% LogicalDisk FreeSpace E\" category=\"LogicalDisk\" counter=\"% Free Space\" instance=\"E:\" />\r\n      <add path=\"%HOST% LogicalDisk FreeSpace F\" category=\"LogicalDisk\" counter=\"% Free Space\" instance=\"F:\" />\r\n    </counters>\r\n\r\nIt would be nice to be able to specify this:\r\n\r\n\t<counters>\r\n      <add path=\"%HOST% LogicalDisk FreeSpace %INSTANCE%\" category=\"LogicalDisk\" counter=\"% Free Space\" instance=\"*\" />\r\n    </counters>\r\n\r\nThis would be especially useful on clusters, where the drives can move about from node to node."},"comment":{"url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/comments/191884095","html_url":"https://github.com/CryptonZylog/carbonator/issues/5#issuecomment-191884095","issue_url":"https://api.github.com/repos/CryptonZylog/carbonator/issues/5","id":191884095,"user":{"login":"CryptonZylog","id":1175100,"avatar_url":"https://avatars.githubusercontent.com/u/1175100?v=3","gravatar_id":"","url":"https://api.github.com/users/CryptonZylog","html_url":"https://github.com/CryptonZylog","followers_url":"https://api.github.com/users/CryptonZylog/followers","following_url":"https://api.github.com/users/CryptonZylog/following{/other_user}","gists_url":"https://api.github.com/users/CryptonZylog/gists{/gist_id}","starred_url":"https://api.github.com/users/CryptonZylog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CryptonZylog/subscriptions","organizations_url":"https://api.github.com/users/CryptonZylog/orgs","repos_url":"https://api.github.com/users/CryptonZylog/repos","events_url":"https://api.github.com/users/CryptonZylog/events{/privacy}","received_events_url":"https://api.github.com/users/CryptonZylog/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T17:50:18Z","updated_at":"2016-03-03T17:50:18Z","body":"Yes, regex sounds reasonable (since .+ is a wildcard in regex anyway)."}}