CouchDB - filter latest log per logged instance from a list
问题 I could use some help filtering distinct values from a couchdb view. I have a database that stores logs with information about computers. Periodically new logs for a computer are written to the db. A bit simplified i store entries like these: { "name": "NAS", "os": "Linux", "timestamp": "2011-03-03T16:26:39Z", } { "name": "Server1", "os": "Windows", "timestamp": "2011-02-03T19:31:31Z", } { "name": "NAS", "os": "Linux", "timestamp": "2011-02-03T18:21:29Z", } So far i am struggling to filter