Greetings! I have to admit, I am extremely new to Kibana but am trying to learn. I have developed a dashboard that shows Vulnerabilities and a corresponding remediation document. When using the data table I am able to bucket the data in a way so that the count is 1 for each item (a vulnerability on a server in an RP may appear multiple times in the index). When I export the raw data, I can see there are 7,516 items. What I am trying to do, though, is reproduce that count in a metric visualization. Although I can do a unique count in the metric, I'm struggling in creating the same row buckets that I have on my data table.
Is there any way to aggregate on the metric viz so that it returns a count number that is the same as what I'm getting on my data table?