{"action":"created","issue":{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/650","labels_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/650/comments","events_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/650/events","html_url":"https://github.com/OpenTSDB/opentsdb/issues/650","id":120088271,"number":650,"title":"Add Pipe (|) support to wildcard filter functions","user":{"login":"kylebrandt","id":1692624,"avatar_url":"https://avatars.githubusercontent.com/u/1692624?v=3","gravatar_id":"","url":"https://api.github.com/users/kylebrandt","html_url":"https://github.com/kylebrandt","followers_url":"https://api.github.com/users/kylebrandt/followers","following_url":"https://api.github.com/users/kylebrandt/following{/other_user}","gists_url":"https://api.github.com/users/kylebrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/kylebrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylebrandt/subscriptions","organizations_url":"https://api.github.com/users/kylebrandt/orgs","repos_url":"https://api.github.com/users/kylebrandt/repos","events_url":"https://api.github.com/users/kylebrandt/events{/privacy}","received_events_url":"https://api.github.com/users/kylebrandt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T03:41:45Z","updated_at":"2015-12-03T22:14:55Z","closed_at":null,"body":"I useful expansion is to be able to do things like: `wildcard(ny-*|co-*)` to get all the `ny-*` hosts and the `co-*` hosts. Before filter support, bosun was doing its own expansion so we have a fair amount of queries like this. I'd like to be able to totally rely on OpenTSDB's filters and ditch the expansion on bosun's side. \r\n\r\nWould it be possible to expand the filter to do this?\r\n\r\nThanks!\r\nKyle"},"comment":{"url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/comments/161801793","html_url":"https://github.com/OpenTSDB/opentsdb/issues/650#issuecomment-161801793","issue_url":"https://api.github.com/repos/OpenTSDB/opentsdb/issues/650","id":161801793,"user":{"login":"gbrayut","id":304401,"avatar_url":"https://avatars.githubusercontent.com/u/304401?v=3","gravatar_id":"","url":"https://api.github.com/users/gbrayut","html_url":"https://github.com/gbrayut","followers_url":"https://api.github.com/users/gbrayut/followers","following_url":"https://api.github.com/users/gbrayut/following{/other_user}","gists_url":"https://api.github.com/users/gbrayut/gists{/gist_id}","starred_url":"https://api.github.com/users/gbrayut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbrayut/subscriptions","organizations_url":"https://api.github.com/users/gbrayut/orgs","repos_url":"https://api.github.com/users/gbrayut/repos","events_url":"https://api.github.com/users/gbrayut/events{/privacy}","received_events_url":"https://api.github.com/users/gbrayut/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T22:14:55Z","updated_at":"2015-12-03T22:14:55Z","body":"We currently have a lot of places this would be very useful. Like process lists where `name=wildcard(puppet|redis-*|haproxy-t*|keepalived|memcached)` would match the literal values or wildcard expansions. Right now I don't think there is any way to combine literals and multiple wildcards without just creating a big regex match."}}