Add math to metrics in kibana Add math to metrics in kibana elasticsearch elasticsearch

Add math to metrics in kibana


It's possible, you need to use Calculation aggregation. Create a new Visual Buidler and select Metric at the top, choose count as the first aggregation and then click on plus button on the right in order to add another aggregation. As the second aggregation choose Calculation. Name your variable and from expandable list pick Count next in the Painless Script field type in your desired formula params.count * 10 / 29. That's how it should look like:

enter image description here