show just messages from kvm hostname
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 20 Aug 2009 17:19:15 +0000 (17:19 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 20 Aug 2009 17:19:15 +0000 (17:19 +0000)
couchdb/syslog/_rev
couchdb/syslog/views/kvm/map.js [new file with mode: 0644]

index 16240b4..7076a16 100644 (file)
@@ -1 +1 @@
-9-580338323
\ No newline at end of file
+10-3139478050
\ No newline at end of file
diff --git a/couchdb/syslog/views/kvm/map.js b/couchdb/syslog/views/kvm/map.js
new file mode 100644 (file)
index 0000000..22b3505
--- /dev/null
@@ -0,0 +1,4 @@
+function(doc) {
+  if ( doc.hostname == 'kvm' )
+  emit(doc.time, doc);
+}
\ No newline at end of file