Alerting

Is it possible to create an alert in Splunk Enterprise if a command is run in CMD?

rodiers01
New Member

Is it possible in Splunk Enterprise to create an alert if someone were to run a command in MS-DOS?

Specifically I'm looking to create an alert if this command below is run in CMD

auditpol /clear /y

This is something a malicious actor would do so that auditing is turned off on the machine and then they can go about their business.

Thanks for any input

0 Karma

wenthold
Communicator

I believe you want to enable command line logging in Windows.

MS Docs on command line logging

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...