You can configure Video Motion Detection (VMD) or smart events such as line crossing.
You can use these to mark the timeline.
You can configure the system to send you email alerts and/or push notifications to an App on your phone.
However, it is very hard to perfect detection.
You tend to get lots of false alarms; birds, spiders, cats, clouds, moving bushes, leaves, etc.
You probably won't want it notifying you overnight.