Custom Alerts doesn't work

I imported my server’s access log. And I have set up the Custom Alerts.
But Alerts doesn’t work.
I want to know if the Custom Alerts is just work in realtime analysis.
I only can import the yesterday’s logs.