{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/curator/issues/260","labels_url":"https://api.github.com/repos/elasticsearch/curator/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/curator/issues/260/comments","events_url":"https://api.github.com/repos/elasticsearch/curator/issues/260/events","html_url":"https://github.com/elasticsearch/curator/issues/260","id":55676588,"number":260,"title":"how to use prefix properly for: api.transactions-","user":{"login":"SteveDevOps","id":9933200,"avatar_url":"https://avatars.githubusercontent.com/u/9933200?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveDevOps","html_url":"https://github.com/SteveDevOps","followers_url":"https://api.github.com/users/SteveDevOps/followers","following_url":"https://api.github.com/users/SteveDevOps/following{/other_user}","gists_url":"https://api.github.com/users/SteveDevOps/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDevOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDevOps/subscriptions","organizations_url":"https://api.github.com/users/SteveDevOps/orgs","repos_url":"https://api.github.com/users/SteveDevOps/repos","events_url":"https://api.github.com/users/SteveDevOps/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDevOps/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-27T21:25:15Z","updated_at":"2015-01-28T20:03:44Z","closed_at":null,"body":"we have indices that start with api.transactions-  and then the timestring. I've tried a bunch of things.. not working. How would I match that using --prefix ?"},"comment":{"url":"https://api.github.com/repos/elasticsearch/curator/issues/comments/71905265","html_url":"https://github.com/elasticsearch/curator/issues/260#issuecomment-71905265","issue_url":"https://api.github.com/repos/elasticsearch/curator/issues/260","id":71905265,"user":{"login":"SteveDevOps","id":9933200,"avatar_url":"https://avatars.githubusercontent.com/u/9933200?v=3","gravatar_id":"","url":"https://api.github.com/users/SteveDevOps","html_url":"https://github.com/SteveDevOps","followers_url":"https://api.github.com/users/SteveDevOps/followers","following_url":"https://api.github.com/users/SteveDevOps/following{/other_user}","gists_url":"https://api.github.com/users/SteveDevOps/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDevOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDevOps/subscriptions","organizations_url":"https://api.github.com/users/SteveDevOps/orgs","repos_url":"https://api.github.com/users/SteveDevOps/repos","events_url":"https://api.github.com/users/SteveDevOps/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDevOps/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T20:03:44Z","updated_at":"2015-01-28T20:03:44Z","body":"my test case with versions .. note.. I xx'ed out the host\r\n\r\n[root@xxxx curator-scripts]# curator --host xxxxxx --port 9200 --master-only --logfile /var/log/curator.log --loglevel DEBUG close --older-than 1 --time-unit days --prefix api.transactions-\r\n[root@xxxx curator-scripts]# cat /var/log/curator.log\r\n2015-01-28 15:00:08,020 INFO      Job starting...\r\n2015-01-28 15:00:08,028 DEBUG     Detected Elasticsearch version 1.1.1\r\n2015-01-28 15:00:08,039 DEBUG     Setting default timestring for days to %Y.%m.%d\r\n2015-01-28 15:00:08,039 DEBUG     Matching indices with pattern: api.transactions-%Y.%m.%d\r\n2015-01-28 15:00:08,039 DEBUG     argdict = {'url_prefix': '', 'prefix': 'api.transactions-', 'log_level': 'DEBUG', 'timestring': '%Y.%m.%d', 'dry_run': False, 'exclude_pattern': None, 'logformat': 'Default', 'auth': None, 'ssl': False, 'host': 'xxxx', 'command': 'close', 'time_unit': 'days', 'timeout': 30, 'debug': False, 'func': <function close at 0x123d0c8>, 'log_file': '/var/log/curator.log', 'master_only': True, 'port': 9200, 'older_than': 1, 'suffix': ''}\r\n2015-01-28 15:00:08,039 INFO      Closing indices...\r\n2015-01-28 15:00:08,047 DEBUG     Unable to match api.transactions-2015.1.26 with regular expression ^api.transactions-(\\d{4}\\.\\d{2}\\.\\d{2})$.  Error: 'NoneType' object has no attribute 'group'\r\n2015-01-28 15:00:08,047 DEBUG     Unable to match api.transactions-2015.1.27 with regular expression ^api.transactions-(\\d{4}\\.\\d{2}\\.\\d{2})$.  Error: 'NoneType' object has no attribute 'group'\r\n2015-01-28 15:00:08,047 DEBUG     Unable to match api.transactions-2015.1.28 with regular expression ^api.transactions-(\\d{4}\\.\\d{2}\\.\\d{2})$.  Error: 'NoneType' object has no attribute 'group'\r\n2015-01-28 15:00:08,047 INFO      Closed specified indices.\r\n2015-01-28 15:00:08,048 INFO      Done in 0:00:00.050726.\r\n[root@xxxx curator-scripts]# curator --version\r\ncurator 2.1.2\r\n[root@xxxx curator-scripts]# python --version\r\nPython 2.6.6\r\n[root@xxxx curator-scripts]# cat /etc/redhat-release \r\nRed Hat Enterprise Linux Server release 6.5 (Santiago)\r\n"}}