{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/kibana/issues/4646","labels_url":"https://api.github.com/repos/elastic/kibana/issues/4646/labels{/name}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/4646/comments","events_url":"https://api.github.com/repos/elastic/kibana/issues/4646/events","html_url":"https://github.com/elastic/kibana/issues/4646","id":100520249,"number":4646,"title":"Average _count per interval (eg minute) metric","user":{"login":"n3ziniuka5","id":584566,"avatar_url":"https://avatars.githubusercontent.com/u/584566?v=3","gravatar_id":"","url":"https://api.github.com/users/n3ziniuka5","html_url":"https://github.com/n3ziniuka5","followers_url":"https://api.github.com/users/n3ziniuka5/followers","following_url":"https://api.github.com/users/n3ziniuka5/following{/other_user}","gists_url":"https://api.github.com/users/n3ziniuka5/gists{/gist_id}","starred_url":"https://api.github.com/users/n3ziniuka5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n3ziniuka5/subscriptions","organizations_url":"https://api.github.com/users/n3ziniuka5/orgs","repos_url":"https://api.github.com/users/n3ziniuka5/repos","events_url":"https://api.github.com/users/n3ziniuka5/events{/privacy}","received_events_url":"https://api.github.com/users/n3ziniuka5/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/kibana/labels/enhancement","name":"enhancement","color":"009800"},{"url":"https://api.github.com/repos/elastic/kibana/labels/low%20fruit","name":"low fruit","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-08-12T11:11:06Z","updated_at":"2015-11-19T17:06:01Z","closed_at":null,"body":"I have an index in which every document represents a request. I want a metric that would show requests per minute to measure how busy the site is.\r\n\r\nCurrently I have a count metric with query `@timestamp: [now-1m TO now]` which shows the amount of requests received during the last minute.\r\n\r\nHowever, I want to use Kibana's built in duration(top-right corner). So if I select `Last 15 minutes`, it should get a count of documents indexed during the past 15 minutes and divide that by 15. Similarly, if I select `Last 1 hour`, it should divide it by 60.\r\n\r\nIs it possible to accomplish that with the current stable version of Kibana? If not, do you think it would be a good feature to add?"},"comment":{"url":"https://api.github.com/repos/elastic/kibana/issues/comments/158120387","html_url":"https://github.com/elastic/kibana/issues/4646#issuecomment-158120387","issue_url":"https://api.github.com/repos/elastic/kibana/issues/4646","id":158120387,"user":{"login":"boupetch","id":87340,"avatar_url":"https://avatars.githubusercontent.com/u/87340?v=3","gravatar_id":"","url":"https://api.github.com/users/boupetch","html_url":"https://github.com/boupetch","followers_url":"https://api.github.com/users/boupetch/followers","following_url":"https://api.github.com/users/boupetch/following{/other_user}","gists_url":"https://api.github.com/users/boupetch/gists{/gist_id}","starred_url":"https://api.github.com/users/boupetch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boupetch/subscriptions","organizations_url":"https://api.github.com/users/boupetch/orgs","repos_url":"https://api.github.com/users/boupetch/repos","events_url":"https://api.github.com/users/boupetch/events{/privacy}","received_events_url":"https://api.github.com/users/boupetch/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T17:06:01Z","updated_at":"2015-11-19T17:06:01Z","body":"+1"}}