print_event_repository_event.py

Use the print_event_repository_event.py script to print Event Repository events.

Syntax

print_event_repository_event.py --port portNumber [--user username] [-d] [-e] [--uri=full_MongoDB_uri] [-h] 

Options

The print_event_repository_event.py script has the following options:

--port=portNumber
The MongoDB server port to connect to. Specify this option only if the port is not the default (27017).
-u username, --user=username
Specify the MongoDB user to log in as.
-d, --decode
Decode a three-character base-32 day code.
-e, --encode
The date to encode.
--uri
The full URI for the MongoDB or MongoDB Atlas database. If the username or password has any special characters, they must be URI-encoded, for example, if the password has an @ character, it must be in the URI as %40. If the URI has an ampersand (&), the & must be escaped (preceded by a backslash (\&)) or the full URI must be inside quotes, for example:
uri=mongodb+srv://cluster0.8n9ep.mongodb.net/MtxEventDatabase?retryWrites=true\&option=value

uri="http://host/path?var1=val1&var2=val2"
Note: When entering the URI in create_config.py, if the URI has an &, it must be escaped (\&) to prevent the configuration file from becoming invalid.
--srv
If this parameter is specified, an SRV-based URI is generated for a MongoDB Atlas database. If this parameter is not specified, a regular MongoDB database URI is generated.
-h, --help
Show help about the script options.