{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/timelion/issues/90","repository_url":"https://api.github.com/repos/elastic/timelion","labels_url":"https://api.github.com/repos/elastic/timelion/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/elastic/timelion/issues/90/comments","events_url":"https://api.github.com/repos/elastic/timelion/issues/90/events","html_url":"https://github.com/elastic/timelion/issues/90","id":144921253,"number":90,"title":"Help: Calculated Fields","user":{"login":"dubrowgn","id":1294253,"avatar_url":"https://avatars.githubusercontent.com/u/1294253?v=3","gravatar_id":"","url":"https://api.github.com/users/dubrowgn","html_url":"https://github.com/dubrowgn","followers_url":"https://api.github.com/users/dubrowgn/followers","following_url":"https://api.github.com/users/dubrowgn/following{/other_user}","gists_url":"https://api.github.com/users/dubrowgn/gists{/gist_id}","starred_url":"https://api.github.com/users/dubrowgn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dubrowgn/subscriptions","organizations_url":"https://api.github.com/users/dubrowgn/orgs","repos_url":"https://api.github.com/users/dubrowgn/repos","events_url":"https://api.github.com/users/dubrowgn/events{/privacy}","received_events_url":"https://api.github.com/users/dubrowgn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-31T14:40:23Z","updated_at":"2016-03-31T14:40:23Z","closed_at":null,"body":"I'm sorry if this is written down somewhere. I am new to Timelion, and haven't been able to find much in terms of documentation.\r\n\r\nIs it possible to use a calculation of two fields as the value for a metric aggregation? I'm wanting to do something like this:\r\n\r\n> sum(count * time) / sum(count)\r\n\r\nWhere `count` and `time` are from the same record.\r\n\r\nThanks!"}}