{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/1750","labels_url":"https://api.github.com/repos/grafana/grafana/issues/1750/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/1750/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/1750/events","html_url":"https://github.com/grafana/grafana/issues/1750","id":67607846,"number":1750,"title":"List or regex to exclude items from template queries","user":{"login":"ohTHATaaronbrown","id":2342976,"avatar_url":"https://avatars.githubusercontent.com/u/2342976?v=3","gravatar_id":"","url":"https://api.github.com/users/ohTHATaaronbrown","html_url":"https://github.com/ohTHATaaronbrown","followers_url":"https://api.github.com/users/ohTHATaaronbrown/followers","following_url":"https://api.github.com/users/ohTHATaaronbrown/following{/other_user}","gists_url":"https://api.github.com/users/ohTHATaaronbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/ohTHATaaronbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohTHATaaronbrown/subscriptions","organizations_url":"https://api.github.com/users/ohTHATaaronbrown/orgs","repos_url":"https://api.github.com/users/ohTHATaaronbrown/repos","events_url":"https://api.github.com/users/ohTHATaaronbrown/events{/privacy}","received_events_url":"https://api.github.com/users/ohTHATaaronbrown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-10T14:27:20Z","updated_at":"2015-04-10T14:53:04Z","closed_at":null,"body":"In the template variable editor, I'd like to have the ability to have a query like `stats.gauges.mycompany.instance.*` and then another textbox to have either a regex (or at least a value list) to identify items i'd like to **exclude** from the variable's selection list\r\n\r\nI see that there's a regex to pull out a piece that i **want**, but no way that I can find to filter out items that I **don't** want."},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/91582738","html_url":"https://github.com/grafana/grafana/issues/1750#issuecomment-91582738","issue_url":"https://api.github.com/repos/grafana/grafana/issues/1750","id":91582738,"user":{"login":"ohTHATaaronbrown","id":2342976,"avatar_url":"https://avatars.githubusercontent.com/u/2342976?v=3","gravatar_id":"","url":"https://api.github.com/users/ohTHATaaronbrown","html_url":"https://github.com/ohTHATaaronbrown","followers_url":"https://api.github.com/users/ohTHATaaronbrown/followers","following_url":"https://api.github.com/users/ohTHATaaronbrown/following{/other_user}","gists_url":"https://api.github.com/users/ohTHATaaronbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/ohTHATaaronbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohTHATaaronbrown/subscriptions","organizations_url":"https://api.github.com/users/ohTHATaaronbrown/orgs","repos_url":"https://api.github.com/users/ohTHATaaronbrown/repos","events_url":"https://api.github.com/users/ohTHATaaronbrown/events{/privacy}","received_events_url":"https://api.github.com/users/ohTHATaaronbrown/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T14:53:04Z","updated_at":"2015-04-10T14:53:04Z","body":"Nope, doesn't look like it.  I can only glob positively:\r\n\r\nI can do something like `stats.gauges.dovetail.instance.*{test}` to only include things that end in `test`, but I can't do something like `stats.gauges.dovetail.instance.*!{test}` to **exclude** things that **end** in `test`."}}