Splunk Search

Nessus data charting- How to make a trend chart of specific data set?

jenkinsta
Path Finder

I am making a trend chart of specific data set. What I am looking for is (generic example)

index=nessus | eval Month=strftime(firstSeen,"%b") | chart count by severity Month

So the end result would be Months on the X axis and the count of severity (critica,high,medium) for each month. Each month would have a count of each severity.  But using the firstseeen date from the date event. 

Labels (3)
0 Karma
1 Solution

yeahnah
Motivator

Hi @jenkinsta 

I think timechart would be better suited for this.  Something like

index=nessus
| timechart span=1month count BY severity 

 The counts are group by month then

Hope that helps

View solution in original post

0 Karma

yeahnah
Motivator

Hi @jenkinsta 

I think timechart would be better suited for this.  Something like

index=nessus
| timechart span=1month count BY severity 

 The counts are group by month then

Hope that helps

0 Karma

jenkinsta
Path Finder

Thanks, I can do it by the time of the event but what I am looking for is by the firstSeen value from the event itself. 

 

eval FirstSeenMonth=strftime(firstSeen,"%b")

How can I group by FirstSeenMonth or is there something else I need to do before I do any charting?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...