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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...