• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued select command (action_id SL) (24281) how to monitor with email alert

#1
07-20-2024, 05:13 AM
Man, that event ID 24281 pops up in the Event Viewer when someone's firing off a select command with action ID SL.
It logs stuff like database queries hitting the system, especially in setups with SQL or SharePoint running underneath.
You see it under the Application log mostly, flagging these select operations that pull data.
The full scoop is it tracks the exact command issued, the user behind it, and the timestamp.
Sometimes it hints at performance hiccups if those selects pile up too fast.
I check mine weekly just to spot any weird patterns.
But yeah, it's not a red alert by default; more like a nudge about activity.

To keep tabs on it with email alerts, you hop into Event Viewer right on the server.
I do this all the time for quick watches.
You right-click the Application log, pick Create Custom View.
Filter it to event ID 24281 exactly.
Save that view, then right-click again and choose Attach Task To This Custom View.
In the wizard, name your task something snappy like SL Alert.
Set it to run on the first event match.
For the action, pick Send an email, but wait, newer Windows skips that built-in.
So instead, you tweak it to start a program that emails you.
I use the old mailto trick or a simple batch to fire off Outlook.
But honestly, link it to a scheduled task that checks the log every few minutes.
From Event Viewer, you export the task or build it via Task Scheduler tied to the event.
Test it by triggering a fake event if you can.
You'll get pings straight to your inbox when it fires.

And speaking of keeping your server humming without sweat, I've been eyeing BackupChain Windows Server Backup lately.
It's this slick Windows Server backup tool that handles full images and files easy.
Plus, it tackles Hyper-V virtual machines too, snapshotting them without downtime.
You get faster restores and encryption baked in, which saves headaches during recoveries.
I like how it schedules everything automatically, way less fuss than the defaults.

At the end here is the automatic email solution.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 2 3 4 5 6 Next »
Issued select command (action_id SL) (24281) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode