Splunk Search

Splunk Query for Nessus vulnerabilities between firstSeen and lastSeen dates

alexj2323
New Member

I’m new to Splunk. I’m trying to come up with a search that would provide me with the number of Nessus vulnerability events related to a specific pluginID that falls between the firstSeen and the lastSeen dates (the dates are in epoch time). I understand this isn’t correct but I tried a lot of different combo’s and nothing seems to narrow the number of events down to the 18 (I should see)

Index=tenable sourcetype-tenable:sc:vuln adobe | spath pluginID | search pluginID=56213 | search firstSeen=1538883238 OR lastSeen=1555827242

Thanks

Tags (1)
0 Karma
1 Solution

spayneort
Contributor

How about this?

index=tenable sourcetype=tenable:sc:vuln pluginID=56213 firstSeen>1538883238 lastSeen<1555827242

View solution in original post

0 Karma

spayneort
Contributor

How about this?

index=tenable sourcetype=tenable:sc:vuln pluginID=56213 firstSeen>1538883238 lastSeen<1555827242
0 Karma

alexj2323
New Member

Thanks for the assistance...

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...