I wanted to show the numbers of volume_total (5,797,557) as percentage (the application_name's volume_total divided by the sum of volume_total of all application). But if i use bar horizontal percentage, all shows as 100%:

for more context, volume_total is a field which value is from index template's runtime field of adding 2 other field (volume_in and volume_out). my example log:

I'm not sure I understand what you want but I hope some context would help you get there.

First of all, the Bar horizontal percentage visualization type computes the percentages based on the values within the given buckets. As your first image shows, you only have one value in each bucket, the buckets defined as Top 10 values of application_name. Thus each value within the three separate buckets is 100% of the bucket size.

Secondly, I think the solution for you would be to use a lens formula with the overall_sum function, see Percent of total example example in the docs.

This function is defined in greater detail in the Formula reference docs in Lens, see docs reference below...

With this function you are able to determine cumulative sums across all series, then equate the series to a percentage of the total. This formula would look something like...

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.