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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...