filter_spec function

Data extract filter specification