Only filtering logs before storing to mongo