Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to create a pie chart of percentages out of just numeric token values?

$
0
0
Trying to do a pie chart out of just numeric values, getting values from different tokens and using them for this piechart, I just want to show them as % of the entire sum of numeric token values. How do you create a list of values for piechart? index=main host="*" | eval token1="$token1$" | eval token2="$token2$" | eval token3="$token3$" | eval token4 = "$token4$" | eval token_times = list(token1, token2, token3, token4) | stats values by token_times

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>