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

How to search the percentage of values in a field?

$
0
0
I'm trying build a bar chart from an asset list that shows by bunit what percentage of a field called **last** has a value in it. I used `isnotnull` to create a field with yes/no values, but I'm not sure how to show the percentage. | inputlookup my_assets.csv | eval percentage=if(isnotnull(last),"yes","no")

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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