Splunk Search

Stats count on list of values from lookup and how many times they are displayed in the results.

ajinaqvi
New Member

I am currently running a dashboard with a datamodel. The dashboard is run against bulk IOCs from a lookup. How can I put up a panel in a dashboard that will display the list of IOCs and count of IOCs in results?

0 Karma

king2jd
Path Finder

Without seeing your field names, I am taking a shot in the dark. I imagine it would be something like this:

lookup command|stats count by IOC

Too add up the total counts of all IOC's , use. |addcoltotals at the end of your search.

-Jordan

ajinaqvi
New Member

Will this provide stats count on how many times an IOC is found when running against an index or data model?

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...