{"action":"closed","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-file/issues/70","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-input-file/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-file/issues/70/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-file/issues/70/events","html_url":"https://github.com/logstash-plugins/logstash-input-file/issues/70","id":110415211,"number":70,"title":"Input file path has a broken placeholder behavior (does not match some dots)","user":{"login":"func0der","id":529819,"avatar_url":"https://avatars.githubusercontent.com/u/529819?v=3","gravatar_id":"","url":"https://api.github.com/users/func0der","html_url":"https://github.com/func0der","followers_url":"https://api.github.com/users/func0der/followers","following_url":"https://api.github.com/users/func0der/following{/other_user}","gists_url":"https://api.github.com/users/func0der/gists{/gist_id}","starred_url":"https://api.github.com/users/func0der/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/func0der/subscriptions","organizations_url":"https://api.github.com/users/func0der/orgs","repos_url":"https://api.github.com/users/func0der/repos","events_url":"https://api.github.com/users/func0der/events{/privacy}","received_events_url":"https://api.github.com/users/func0der/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T10:11:18Z","updated_at":"2015-10-08T10:32:44Z","closed_at":"2015-10-08T10:32:44Z","body":"Hey there,\r\n\r\nI am having a weird issue here.\r\nI try to process a bunch of static apache access log files.\r\nThis is my logstash config:\r\n\r\n```\r\ninput {\r\n\tfile {\r\n\t\tpath => \"/tmp/logs/access.*.log\"\r\n\t}\r\n}\r\nfilter {\r\n\tgrok {\r\n\t\tmatch => { \"message\" => \"%{COMBINEDAPACHELOG}\" }\r\n\t}\r\n\tdate {\r\n\t\tlocale => \"en-US\"\r\n\t\tmatch => [ \"timestamp\", \"dd/MMM/yyyy:HH:mm:ss Z\" ]\r\n\t}\r\n}\r\noutput {\r\n\telasticsearch {\r\n\t\tprotocol => \"http\"\r\n\t}\r\n        stdout {}\r\n}\r\n```\r\n\r\nWhen I start logstash with that configuration file and the debug flag, everything is outputs is this (only the last line of the output):\r\n\r\n```\r\n_discover_file_glob: /tmp/logs/access.*.log: glob is: [\"/tmp/logs/access.vm38-2.2015.10.01.log\", \"/tmp/logs/access.vm38-2.2015.10.02.log\", \"/tmp/logs/access.vm38-2.2015.10.03.log\", \"/tmp/logs/access.vm38-2.2015.10.04.log\", \"/tmp/logs/access.vm38-2.2015.10.05.log\", \"/tmp/logs/access.vm46-13.2015.10.01.log\", \"/tmp/logs/access.vm46-13.2015.10.02.log\", \"/tmp/logs/access.vm46-13.2015.10.03.log\", \"/tmp/logs/access.vm46-13.2015.10.04.log\", \"/tmp/logs/access.vm46-13.2015.10.05.log\", \"/tmp/logs/access.vm53-1.2015.10.01.log\"] {:level=>:debug, :file=>\"filewatch/watch.rb\", :line=>\"132\", :method=>\"_discover_file\"}\r\n```\r\n\r\nAnd this line is repeated over and over and over again without any logs being parsed.\r\n\r\nNow comes the parts in which I think logstash is somehow broken.\r\nI have tried to change the `path` in `input`. All of the following do work perfectly:\r\n\r\n```\r\npath => \"/tmp/logs/*.log\"\r\npath => \"/tmp/logs/access.*\"\r\npath => \"/tmp/logs/access.*.*.*.*.log\" # structure of all the file names\r\n```\r\n\r\nIf I should test any other combination, please let me know.\r\n\r\nSo...this is weird.\r\n\r\nWhat do you think about it?\r\n\r\nRegards\r\nfunc0der"}}