{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/69","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/69/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/69/events","html_url":"https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/69","id":60486199,"number":69,"title":"Unable to convert an existing field type to date","user":{"login":"OElesin","id":11349090,"avatar_url":"https://avatars.githubusercontent.com/u/11349090?v=3","gravatar_id":"","url":"https://api.github.com/users/OElesin","html_url":"https://github.com/OElesin","followers_url":"https://api.github.com/users/OElesin/followers","following_url":"https://api.github.com/users/OElesin/following{/other_user}","gists_url":"https://api.github.com/users/OElesin/gists{/gist_id}","starred_url":"https://api.github.com/users/OElesin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OElesin/subscriptions","organizations_url":"https://api.github.com/users/OElesin/orgs","repos_url":"https://api.github.com/users/OElesin/repos","events_url":"https://api.github.com/users/OElesin/events{/privacy}","received_events_url":"https://api.github.com/users/OElesin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T11:35:12Z","updated_at":"2015-04-16T12:20:01Z","closed_at":null,"body":"I have a field in my log file which contains the timestamp. Logstash automatically converts the field type to string but I want to convert the field type to date. \r\nHow do I go about this?"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/comments/93720274","html_url":"https://github.com/logstash-plugins/logstash-output-elasticsearch/issues/69#issuecomment-93720274","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-output-elasticsearch/issues/69","id":93720274,"user":{"login":"UlrichEckhardt","id":8566055,"avatar_url":"https://avatars.githubusercontent.com/u/8566055?v=3","gravatar_id":"","url":"https://api.github.com/users/UlrichEckhardt","html_url":"https://github.com/UlrichEckhardt","followers_url":"https://api.github.com/users/UlrichEckhardt/followers","following_url":"https://api.github.com/users/UlrichEckhardt/following{/other_user}","gists_url":"https://api.github.com/users/UlrichEckhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/UlrichEckhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UlrichEckhardt/subscriptions","organizations_url":"https://api.github.com/users/UlrichEckhardt/orgs","repos_url":"https://api.github.com/users/UlrichEckhardt/repos","events_url":"https://api.github.com/users/UlrichEckhardt/events{/privacy}","received_events_url":"https://api.github.com/users/UlrichEckhardt/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T12:20:01Z","updated_at":"2015-04-16T12:20:01Z","body":"Here's a filter I use:\r\n\r\n    date {\r\n      timezone => \"Europe/Berlin\"\r\n      match => [ \"monolog_timestamp\", \"yyyy-MM-dd HH:mm:ss\" ]\r\n      target => \"timestamp\"\r\n    }\r\n\r\nThe `monolog_timestamp` was previously extracted from the logs using a grok filter."}}