Hi guys,
I am monitoring suspicious user activity using the transaction command. For example, if EventCodes X, Y, and Z (in this order) show up for the same user within 24 hours, an alert will be sent out. So I have most of my search complete. My problem is, I need to make sure that between X and Z the event Y is present.
.....| transaction user startswith=(EventCode=X) endswith=(EventCode=Z) | .....
I appreciate your help!
Thanks
You could easily do it like this
.....
| transaction user startswith=(EventCode=X) endswith=(EventCode=Z)
| where EventCode=Y
....
Once the transaction is created, you can search for EventCode = Y and Splunk will retain only the events that have EventCode=Y somewhere within the transaction.
You could easily do it like this
.....
| transaction user startswith=(EventCode=X) endswith=(EventCode=Z)
| where EventCode=Y
....
Once the transaction is created, you can search for EventCode = Y and Splunk will retain only the events that have EventCode=Y somewhere within the transaction.
Thank you very much! This worked perfectly.