Extension:EventLogging/MongoDB

There's an experimental (read: no uptime guarantees) instance of MongoDB on vanadium that is receiving all EventLogging data.

To connect, SSH into a machine on the cluster (like stat1), and run:

With any luck, you'll see this output:

This means MongoDB is ready to read and execute your queries. Cool.

Each deployed event schema is stored in its own collection (collections are the MongoDB analogue of MySQL tables). To see the list of extant collections, type :

You can learn about how to query these collections in the MongoDB Manual. Here are some sample queries (and their output) to get you started:

You can also write Python programs to interact with the data using PyMongo. Here is a simple example:

And its output: