{"action":"closed","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/issues/15","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/issues/15/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/issues/15/events","html_url":"https://github.com/logstash-plugins/logstash-filter-date/issues/15","id":59127848,"number":15,"title":"Enable variable interpolation in the timezone field.","user":{"login":"hartfordfive","id":3722736,"avatar_url":"https://avatars.githubusercontent.com/u/3722736?v=3","gravatar_id":"","url":"https://api.github.com/users/hartfordfive","html_url":"https://github.com/hartfordfive","followers_url":"https://api.github.com/users/hartfordfive/followers","following_url":"https://api.github.com/users/hartfordfive/following{/other_user}","gists_url":"https://api.github.com/users/hartfordfive/gists{/gist_id}","starred_url":"https://api.github.com/users/hartfordfive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartfordfive/subscriptions","organizations_url":"https://api.github.com/users/hartfordfive/orgs","repos_url":"https://api.github.com/users/hartfordfive/repos","events_url":"https://api.github.com/users/hartfordfive/events{/privacy}","received_events_url":"https://api.github.com/users/hartfordfive/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/labels/adoptme","name":"adoptme","color":"207de5"},{"url":"https://api.github.com/repos/logstash-plugins/logstash-filter-date/labels/enhancement","name":"enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T19:26:22Z","updated_at":"2015-11-03T16:02:16Z","closed_at":"2015-11-03T16:02:16Z","body":"Would it be possible to add the ability to allow for variable interpolation in the **timezone** field of the date plugin?  This would be useful in multi-tenant setups where servers from multiple timezones might ship their logs to one central Logstash server/cluster which is located in a different timezone.  It also avoids having a large conditional statement that would include every potential timezone.\r\n\r\nExample:\r\n\r\n```\r\ndate {\r\n        match => [\r\n           \"event_time\",\r\n           \"yyyy/mm/dd HH:mm:ss\", \"dd/MMM/yyyy:HH:mm:ss Z\", \"EEE MMM dd HH:mm:ss yyyy\" \r\n        ]\r\n        locale => \"en\"\r\n        add_tag => [ \"timestamp_updated\", \"tz_%{timezone}\" ]\r\n        timezone => \"%{timezone}\"\r\n      }\r\n```\r\n\r\nRight now, the following example simply causes this error:  ```The datetime zone id '%{timezone}' is not recognised```. "}}