I need to calculate the average value of a field. But the base is not the number of documents. I need to consider the unique count of another field as base(denominator). Is there any way to achieve this through built-in visualization or through giving calculated script to kibana
You can use scripted field under index patterns to calculate that value and then use it as a base.
Here are the docs which explain how to do it:
This is a pretty good blogpost which explains all about it:
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.