mongoexport --db mnemosyne --collection session --fields=source_ip,destination_ip --csv--
You received this message because you are subscribed to the Google Groups "Modern Honey Network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modern-honey-network+unsub...@googlegroups.com.
To post to this group, send email to modern-honey-network@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modern-honey-network/118fbabb-9def-4207-94eb-d09b86414e12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# Dump all the records from the session collection
mongoexport --db mnemosyne --collection session > session.json
# Dump the source_ip and destination_ip fields from the session collection as JSON
mongoexport --db mnemosyne --collection session --fields=source_ip,destination_ip
# Dump the source_ip and destination_ip fields from the session collection as CSV
mongoexport --db mnemosyne --collection session --fields=source_ip,destination_ip –csv
# Dump the summary counts
mongoexport --db mnemosyne --collection counts --query '{}'
# Dump the metadata collection (only populated if you run p0f sensors).
mongoexport --db mnemosyne --collection metadata --query '{}'