Alerting

RSS and alert

machin90
Observer

Hi,

I am subscribed to the NVD CVE rss feed that I receive via splunk.

When one device matches I have an alert. The issue is that when the RSS feed is updated (with us every 24 hours) it also updates the date and time of the event and therefore gives me the same alert as yesterday.

My alert check every day at 8.00 PM if new cve with my device.

For example, I receive one alert yesterday for new cve checkpoint and today I have receive the same  alert with the same cve.

index=main *Checkpoint* | table publish,cve,link

Could you help me?

 

Thanks.

Labels (4)
0 Karma

to4kawa
Ultra Champion

sample:

1. source.csv(Splunk_folder/var/run/splunk/csv/source.csv )
source
/Applications/Splunk/var/log/splunk/metrics.log
/Applications/Splunk/var/log/splunk/mongod.log

2. alert query
| tstats count where index=_internal NOT [|inputcsv source.csv ] by source
| outputcsv append=t source

3. alerting
eventcount > 0

4. note

If you first create it with outputcsv, it will be the default folder.

 

0 Karma

machin90
Observer

Hi to4awa,

Thanks for idea, this my query:

index=main *Checkpoint*
| stats count by publish,cve,link
| table publish,cve,link,count
| search NOT [inputcsv cve.csv | fields cve]
| outputcsv append=t cve

 

My csv file is always fed so I have duplicates how to add only the missing cve ?

0 Karma

to4kawa
Ultra Champion

How about outputting to csv and including that csv in the search?

0 Karma

machin90
Observer

Hi to4awa,

Could you give me an example?

 

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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...