read ngx_event