Dashboards & Visualizations

How to display CVE as a number not all the CVE's listed

rkaakaty
Path Finder

My CVE field is being displayed like this:

alt text

I want it to be displayed by the number of CVE's and not each one.

Here is my code:

index=nessus cve=*
| eval CVSS_SCORE = cvss_base_score + cvss_temporal_score
| eval description=substr(description,1,100)
| eval solution=substr(solution,1,100)
| rename id as ID, cve as CVE, plugin_name as Plugin_Name, description as Description, solution as Solution
| table ID, Plugin_Name, Description, Solution, CVSS_SCORE, CVE
| sort - CVSS_SCORE

Tags (1)
0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Try this

index=nessus cve=*
| eval CVSS_SCORE = cvss_base_score + cvss_temporal_score
| eval description=substr(description,1,100)
| eval solution=substr(solution,1,100)
| eval CVE=mvcount(cve)
| rename id as ID, plugin_name as Plugin_Name, description as Description, solution as Solution
| table ID, Plugin_Name, Description, Solution, CVSS_SCORE, CVE
| sort - CVSS_SCORE

View solution in original post

somesoni2
SplunkTrust
SplunkTrust

Try this

index=nessus cve=*
| eval CVSS_SCORE = cvss_base_score + cvss_temporal_score
| eval description=substr(description,1,100)
| eval solution=substr(solution,1,100)
| eval CVE=mvcount(cve)
| rename id as ID, plugin_name as Plugin_Name, description as Description, solution as Solution
| table ID, Plugin_Name, Description, Solution, CVSS_SCORE, CVE
| sort - CVSS_SCORE

rkaakaty
Path Finder

Thank you!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...