Reporting

Spam Alert

Splunker4Life
Explorer

Hi all,

I want to set up a spam alert in Splunk that will notify me if we receive excessive emails from a certain source eg 200 emails within a 1 hour timeframe.

I was wondering if such an alert can be made and if so some guidance on how to do so.

Thanks in Advance

Tags (2)
0 Karma
1 Solution

lguinn2
Legend

Sounds like you want to define a scheduled alert.

First, figure out the search that will identify spam. Maybe something like this

sourcetype=myemail | stats count by mailerDomain | where count >= 200

Then click "Create Alert" from the pull-down menu on the right, and follow the directions in the documentation. The search that I have given would trigger an alert if you used the conditions "number of results > 0"

HTH

View solution in original post

0 Karma

lguinn2
Legend

Sounds like you want to define a scheduled alert.

First, figure out the search that will identify spam. Maybe something like this

sourcetype=myemail | stats count by mailerDomain | where count >= 200

Then click "Create Alert" from the pull-down menu on the right, and follow the directions in the documentation. The search that I have given would trigger an alert if you used the conditions "number of results > 0"

HTH

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!

Introducing ITSI 5.0: Unified Visibility and Actionable Insights

Introducing ITSI 5.0: Unified Visibility and Actionable Insights Tuesday, July 21, 2026  |  10:00AM PT / ...

Inside Splunk Agent Observability: Understanding Agent Behavior, Tokens & Costs

Inside Splunk Agent Observability:Understanding Agent Behavior, Tokens & Costs Thursday, August 06, ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...