Filtering for some stochastic processes with discrete observations