Download Logs
You can download the mongot
process logs from the Atlas UI. The
mongot
process logs contain information such as the following:
Index creation and index management operations.
Queries served by the process.
About the mongot
Log
The mongot
log is in JSON format and contains the following
fields:
JSON Field | Description | Necessity |
---|---|---|
| UTC timestamp of the log in ISO-8601 format. For example,
| Required |
| Logback severity level of the log. The following values are valid:
| Required |
| Service that emitted the log. Value is | Required |
| The context for the log entry, which is the thread that emitted
the log. For example, | Required |
| Name of the logger that emitted the log, which is set to the Java
class name. For example, | Required |
| Human-readable description of the log event. Information needed
to search or filter logs is in the | Required |
| One or more key-value pairs (log attributes) that provide additional details not present in the other fields. Attributes might contain the entire stack trace as a string to ensure that it is fully contained in a single log message for easier ingestion. Omitted if no attributes are present. | Optional |
Procedure
To download the logs, complete the following steps:
In Atlas, go to the Clusters page for your project.
Warning
Navigation Improvements In Progress
We're currently rolling out a new and improved navigation experience. If the following steps don't match your view in the Atlas UI, see the preview documentation.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
If it's not already displayed, click Clusters in the sidebar.
The Clusters page displays.
Edit the fields.
In the Download Logs dialog box, edit the following fields:
Field | Content |
---|---|
Select process | Select the |
Select server | Select the server in the cluster whose logs you want to retrieve. |
Time Period | Select the time frame of log activity to return. If you select Custom Time, specify the inclusive start and end time of log activity to return. The start time must be less than 30 days ago. IMPORTANT: To ensure that your log data returns within the desired time frame, set the time zone in your Atlas project settings. |