Splunk Enterprise

Alert Configuration

ipirzada_22
New Member

Would like to configure an alert that will trigger based on the action and subcategory below.  Would like this to run hourly to check if there are any hits daily.

action=update subcategory=WEB_DLP_POLICY

Labels (1)
0 Karma

livehybrid
Super Champion

Hi

There isnt quite enough info in the post to work out exactly what you need - however the following should get you started. Note: I wouldnt recommend looking back 24 hours every time, what is the reason for this? I would recommend just looking back 60 minutes, you could use earliest=-70m latest=-10m to make sure you get data which is up to 10 minutes late arriving.

Run a search which returns the events you want to be alerted on:

index=your_index action=update subcategory=WEB_DLP_POLICY earliest=-1d@d latest=now

livehybrid_0-1744209787718.png

Click Save As-> Alert.

livehybrid_1-1744209796960.png

Name the alert and change the settings to make it run hourly. 

You'll need to make sure you apply some throttling because otherwise you may get the alerts duplicated every time it runs.

Then scroll down and setup your chosen Alert action - presumably Email? Configure this according to your requirements and then save.

Some useful docs: https://docs.splunk.com/Documentation/Splunk/9.4.1/Alert/Definescheduledalerts

🌟Did this answer help you? If so, please consider:

  • Adding kudos to show it was useful
  • Marking it as the solution if it resolved your issue
  • Commenting if you need any clarification

Your feedback encourages the volunteers in this community to continue contributing

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What have you tried so far?  Where did you get stuck?

Why check the whole day every hour?  If nothing was found in the 00:00-01:00 period at the 01:00 run then nothing will be found in the same period at the 02:00 run.  Searching the same data repeatedly is a waste of resources.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What did the zero say to the eight?

June 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

Splunk Observability Cloud's AI Assistant in Action Series: Onboarding New Hires & ...

This is the fifth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...