{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5432","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5432/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5432/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5432/events","html_url":"https://github.com/elastic/kibana/issues/5432","id":117616762,"number":5432,"title":"Add `format` to _field_stats request","user":{"login":"rashidkpc","id":1250387,"avatar_url":"https://avatars.githubusercontent.com/u/1250387?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidkpc","html_url":"https://github.com/rashidkpc","followers_url":"https://api.github.com/users/rashidkpc/followers","following_url":"https://api.github.com/users/rashidkpc/following{/other_user}","gists_url":"https://api.github.com/users/rashidkpc/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidkpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidkpc/subscriptions","organizations_url":"https://api.github.com/users/rashidkpc/orgs","repos_url":"https://api.github.com/users/rashidkpc/repos","events_url":"https://api.github.com/users/rashidkpc/events{/privacy}","received_events_url":"https://api.github.com/users/rashidkpc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/blocker","name":"blocker","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/kibana/labels/bug","name":"bug","color":"ff0000"},{"url":"https://api.github.com/repos/elastic/kibana/labels/v4.3.0","name":"v4.3.0","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"epixa","id":53814,"avatar_url":"https://avatars.githubusercontent.com/u/53814?v=3","gravatar_id":"","url":"https://api.github.com/users/epixa","html_url":"https://github.com/epixa","followers_url":"https://api.github.com/users/epixa/followers","following_url":"https://api.github.com/users/epixa/following{/other_user}","gists_url":"https://api.github.com/users/epixa/gists{/gist_id}","starred_url":"https://api.github.com/users/epixa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epixa/subscriptions","organizations_url":"https://api.github.com/users/epixa/orgs","repos_url":"https://api.github.com/users/epixa/repos","events_url":"https://api.github.com/users/epixa/events{/privacy}","received_events_url":"https://api.github.com/users/epixa/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-18T15:54:03Z","updated_at":"2015-11-18T15:54:03Z","closed_at":null,"body":"Currently the elasticsearch `_field_stats` API does not accept millis formated timestamps unless it is explicitly told to do so via the mapping. Unfortunately thats the only way we can realistically send them. To make this easier @martijnvg has submitted this pull https://github.com/elastic/elasticsearch/pull/14823 to elastic/elasticsearch that allows us to pass a format to elasticsearch. We'll need to update that before we release 4.3.0. We also need to bump ES_MIN_VERSION to 2.1.0"}}