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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...