The Module

The Module

MongoDB storage backend

service None


Put the event data into a MongoDB database.


Clear database.


Clear expired data from the backend storage system.

Clearing occurs according to the time-to-live.


ttl – Number of seconds to keep records for.

static Connection.update_ttl(ttl, ttl_index_name, index_field, coll)[source]

Update or create time_to_live indexes.

  • ttl – time to live in seconds.

  • ttl_index_name – name of the index we want to update or create.

  • index_field – field with the index that we need to update.

  • coll – collection which indexes need to be updated.


Migrate the database to version or the most recent version.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.