{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/16","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/16/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/16/events","html_url":"https://github.com/logstash-plugins/logstash-output-s3/issues/16","id":83332308,"number":16,"title":"Dynamic field values in prefix is not supported","user":{"login":"nigoel","id":6428976,"avatar_url":"https://avatars.githubusercontent.com/u/6428976?v=3","gravatar_id":"","url":"https://api.github.com/users/nigoel","html_url":"https://github.com/nigoel","followers_url":"https://api.github.com/users/nigoel/followers","following_url":"https://api.github.com/users/nigoel/following{/other_user}","gists_url":"https://api.github.com/users/nigoel/gists{/gist_id}","starred_url":"https://api.github.com/users/nigoel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigoel/subscriptions","organizations_url":"https://api.github.com/users/nigoel/orgs","repos_url":"https://api.github.com/users/nigoel/repos","events_url":"https://api.github.com/users/nigoel/events{/privacy}","received_events_url":"https://api.github.com/users/nigoel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T05:54:56Z","updated_at":"2015-06-17T12:13:32Z","closed_at":null,"body":"Creation of different file paths in s3 for different kind of events or tracking log file is not supported. \r\n\r\nFor example, here folder prefixes based on fields \"app\" and \"type\" are not supported.\r\ninput {\r\n  file {\r\n    path => \"/*/data/*/executors/*/logs/*\"\r\n  }\r\n}\r\n\r\nfilter {\r\n  grok { match => [\"path\",\"/%{GREEDYDATA}/executors/%{GREEDYDATA:app}[.]%{GREEDYDATA}/logs/%{GREEDYDATA:type}\"]\r\n       }\r\n  }\r\noutput {\r\n s3{\r\n    .....................\r\n    .....................\r\n     prefix => \"applogs/%{app}/%{type}\"\r\n    }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/comments/112777916","html_url":"https://github.com/logstash-plugins/logstash-output-s3/issues/16#issuecomment-112777916","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-output-s3/issues/16","id":112777916,"user":{"login":"Onalu","id":4748822,"avatar_url":"https://avatars.githubusercontent.com/u/4748822?v=3","gravatar_id":"","url":"https://api.github.com/users/Onalu","html_url":"https://github.com/Onalu","followers_url":"https://api.github.com/users/Onalu/followers","following_url":"https://api.github.com/users/Onalu/following{/other_user}","gists_url":"https://api.github.com/users/Onalu/gists{/gist_id}","starred_url":"https://api.github.com/users/Onalu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onalu/subscriptions","organizations_url":"https://api.github.com/users/Onalu/orgs","repos_url":"https://api.github.com/users/Onalu/repos","events_url":"https://api.github.com/users/Onalu/events{/privacy}","received_events_url":"https://api.github.com/users/Onalu/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T12:13:32Z","updated_at":"2015-06-17T12:13:32Z","body":"I'd like to see dynamic values on prefix too. I want to collect my logs in daily folders and there is no option for it now.\r\n\r\n@nigoel maybe you should make a pull request since you already implemented a solution."}}