'Insert the event in to the Mongo collection'

def send(self, event):

    try:
        self.collection.insert(event, manipulate=False)
    except (PyMongoError, BSONError):
        msg = 'Error    inserting    to    MongoDB    event    tracker    backend'
        log.exception(msg)
