Mongodb export data updated in last 7 days with mongoexport

Can you get a filter working in compass at all to do what you want it to do?

The best advice is to compose the query in compass then export it to node. You could even save the filter and export the data directly from compass