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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...