The "Others" bucket is added automatically in the visualization and we have no control over it. The only workaround we've found to diminish the impact it has on the scale of the Y axis is to check "Set Axis Extents" in "Metrics & Axes" to manually set the "Max" value of the Y axis to be near the maximum value of the contribution count of the top contributor, thus truncating the "Others" bar. Using the "Exclude" field under "Buckets" to exclude Others did not work.
In summary, we'd like to remove the "Others" bucket from the chart and display only the 20 buckets with the user names. Is this possible?
Add a Split Series sub-bucket, with a Filters aggregation. Then set the filter to * . This effectively shows all results and bypasses Others . See it here in action.
The only downside is that the legend's label shows "*" (adding a label to the filter ends up adding two legends, one for each bucket, which is confusing). I wonder if there a way to remove legends alltogether?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.