Alerting

Creating an alert for service account log in

Splunk1
Engager

Hi,

We have a service account svc_account, that should log into certain servers (Server1, Server2, Server 3). How would we create an alert to notify if svc_account logs into a server other than Server1, Server2, Server 3? Thank you for your help. 

Labels (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Almost.  Use this, instead.

source="WinEventLog:Security" EventCode="4624" user="svc_account" NOT (src="Server1" OR src="Server2" OR src="Server3")
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Assuming all servers report logins to Splunk, creating an alert is as easy as searching for a login event by svc_account on any server that is not Server1, Server2, or Server3.  Save that search as an alert and schedule it as desired.

---
If this reply helps you, Karma would be appreciated.
0 Karma

Splunk1
Engager

So I can do something like this:

source="WinEventLog:Security" EventCode="4624" user="svc_account" src!="Server1" OR "Sever2" OR "Server3"

 

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Almost.  Use this, instead.

source="WinEventLog:Security" EventCode="4624" user="svc_account" NOT (src="Server1" OR src="Server2" OR src="Server3")
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...