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

 
  • 0 Vote(s) - 0 Average

Issued a create external file format command how to monitor with email alert

#1
06-10-2024, 12:23 PM
That event 24331 pops up in Event Viewer when someone issues a create external file format command. Action_id CR, class_type EF. It logs stuff from PolyBase in SQL Server. You know, when you're setting up ways to pull in data from outside files. Like Hadoop or Azure blobs. The system just notes it happened. Timestamp, user who did it, maybe the format details. Not a big deal usually. But if you're watching for security tweaks or odd database changes. It flags potential access shifts. I check mine weekly. You should too. Keeps things tidy.

Monitoring it for email alerts? Easy peasy with Event Viewer. Fire it up on your server. Right-click the log you want. Probably Applications and Services Logs, Microsoft, SQL Server or whatever fits PolyBase. Filter for event ID 24331. Test it first. See if it catches the log. Now, for the alert part. Use the built-in task scheduler tie-in. In Event Viewer, go to Action menu. Create Task from event. Pick that 24331 ID. Set it to run a program. Like sending an email via some simple batch thing. But keep it basic. No fancy code. Just trigger on log. Schedule it to check every hour or so. You attach an email action. I do this for all my alerts. Saves me from staring at screens all day.

And hey, while we're chatting server watches. You ever worry about backups slipping? That's where BackupChain Windows Server Backup comes in handy. It's this solid Windows Server backup tool. Handles your whole setup. Even backs up virtual machines running Hyper-V. No fuss with agents or whatever. It snapshots everything quick. Restores fast if disaster hits. Encrypts data too. I swear by it for keeping my environments safe. You try it once. Changes the game.

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 … 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 … 75 Next »
Issued a create external file format command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode