Splunk Enterprise

Need help showing statistics

akgreen
Loves-to-Learn Lots

index=VulnerabilityManagement Sourcetype=*
|fields dept=HR      vuln=*      PC=*
|I want statistics showing a list of  HRs vulnerabilities and the associated PC.

I'm new, hopefully this makes sense. I just want a basic statistics page that I can put on a dashboard showing the list of PC vulnerabilities in this dept. And remove any rows that are missing either the vulnerability or PC.

The statistics would show:

Vulnerabilities                            PC
CVE-Malware Boogy              CEOPC1234


Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Can you share some sample events (in a code block </>) and indicate which fields have already been extracted?

0 Karma

akgreen
Loves-to-Learn Lots

I wish I could, but its work data 😕 But the fields above are the fields I am working with. 
The dept=hr gives me all of HR 
the vuln=give me all the vulnerabilities 
and the pc=gives me device name. 

I just don't know how to structure them and remove empty fields

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| where dept="HR" AND isnotnull(vuln) AND isnotnull(pc)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...