{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/5989","labels_url":"https://api.github.com/repos/elastic/kibana/issues/5989/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/5989/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/5989/events","html_url":"https://github.com/elastic/kibana/issues/5989","id":128413018,"number":5989,"title":"Metric Visualization with Most Recent Value","user":{"login":"chakrayadavalli","id":3212471,"avatar_url":"https://avatars.githubusercontent.com/u/3212471?v=3","gravatar_id":"","url":"https://api.github.com/users/chakrayadavalli","html_url":"https://github.com/chakrayadavalli","followers_url":"https://api.github.com/users/chakrayadavalli/followers","following_url":"https://api.github.com/users/chakrayadavalli/following{/other_user}","gists_url":"https://api.github.com/users/chakrayadavalli/gists{/gist_id}","starred_url":"https://api.github.com/users/chakrayadavalli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chakrayadavalli/subscriptions","organizations_url":"https://api.github.com/users/chakrayadavalli/orgs","repos_url":"https://api.github.com/users/chakrayadavalli/repos","events_url":"https://api.github.com/users/chakrayadavalli/events{/privacy}","received_events_url":"https://api.github.com/users/chakrayadavalli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-24T17:44:52Z","updated_at":"2016-01-24T17:44:52Z","closed_at":null,"body":"At present I can show only the Max, Min, Percentile etc aggregations on a Metric. However there is no support to show the most recent value of the metric available in ElasticSearch at that point in time. Note that most recent value may not be one of the predefined aggregations available in Kibana currently. This will help in rendering say the metrics I am capturing with codahale metric library.\r\n\r\nAnother use case that I am struggling to support in Kibana is to show the time our server was last started/restarted i.e., \"Up Since\" time. When I choose the time range in the time picker to be last 15 mins, the \"Up Since\" metric visualization show the time if the server was started in that time range. I also would like to have a feature in Kibana that shows the metric value irrespective of the time range selected in time picker. Think of it like a visualization that is fixed to show the most recent value ALWAYS. For this special case, we should have a checkbox or something that we can choose in the options when we create a metric visualization to mark it as \"Always show most recent value at current time irrespective of the time picker selection\"\r\n\r\nAlso is this possible to write a Kibana plugin to do these sort of changes? If so can someone help me with it so I can contribute a patch?"}}