Skip to main content
Sumo Logic

Install the MongoDB App and view the Dashboards

Install the Sumo Logic App

Now that you have set up collection for MongoDB, install the Sumo Logic App for MongoDB to use the preconfigured searches and dashboards to analyze your data.

To install the app:

  1. Select App Catalog, search for and select the app, and click Add to Library. (In the classic UI, click Library, click Apps, select the app, and click Install. If you don't find the app under Apps, it might be a preview app. Try clicking Preview to find the app.)
  2. Click Preview Dashboards if you'd like to see a preview of the dashboards included with the app before installing.
  3. In the Install Application dialog box, select the installation path (the default is the Personal folder in the library), or click New Folder to add a new folder.
  4. Select either of these options for the log data source.
  • Choose Select from Existing Source Categories, and select the source catalog from the Source Category list.
  • Choose Enter a Custom Data Filter and enter a custom source category beginning with an underscore. Example: (_sourceCategory=MyCategory).
  1. Click Add to Library.

Once an app is installed, it will appear in your Personal folder, or other folder that you specified. From here, you can share it with your organization. See Welcome to the New Library for information on working with the library in the new UI.

Panels will start to fill automatically. It's important to note that each Panel slowly fills with data matching the time range query and received since the Panel was created. Results won't immediately be available, but with a bit of time, you'll see full graphs and maps. 

Dashboards

MongoDB - Overview

Messages by Components. Displays the type and number of messages by components in a pie chart for the last 24 hours.

Number of Messages by Components Over Time. Shows the number of messages by components as a line chart on a timeline for the last 24 hours.

Messages by Severity. Displays the number of messages by severity in a pie chart for the last 24 hours.

Number of Messages by Severity Over Time. Shows the number of messages by severity as a line chart on a timeline for the last 24 hours.

Number of DB Commands Over Time. Displays the number of DB commands as a line chart on a timeline for the last three days.

Number of CRUD Commands Over Time. Displays the number of create, read, update, and delete (CRUD) commands as a line chart on a timeline for the last three days.

MongoDB - General Health

Stopped Servers. Displays information on stopped servers in a table chart including details on host, event time, server status, and remarks, for the last week.

Up Servers. Provides information on up servers in a table chart including details on host, event time, server status, and remarks, for the last week.

Slowest Execution Time (in MS) of DB Commands. Shows information on the slowest execution time in milliseconds of DB commands in a table chart, including details on DB command and max duration for the last 24 hours.

Count of Slow DB Commands. Displays the count of slow DB commands in a single value chart for the last 24 hours.

Number of Slow CRUD Commands Over Time. Provides the number of slow create, read, update, and delete (CRUD) commands as a line chart on a timeline for the last three days.

Count of Slow CRUD Commands. Shows the count of slow CRUD commands in a single value chart for the last 3 days.

Number of Slow DB Commands Over Time. Displays the number of slow DB commands as a line chart on a timeline for the last three days.

Number of CRUD Commands Over Time. Provides the number of CRUD commands as a line chart on a timeline for the last three days.

Slow Server Status. Shows information on the status of slow servers in a table chart including details on timestamp, message, and source host for the last three days.

MongoDB - Errors and Warnings

Number of Errors. Displays the number of errors in a single value chart for the last 24 hours.

Errors by Component. Shows errors by component in a pie chart for the last 24 hours.

Error Summary - Daily. Provides information on errors in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Socket Exceptions. Displays information on socket exceptions in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Number of Warnings. Shows the number of warnings in a single value chart for the last 24 hours.

Warnings by Component. Displays warnings by component in a pie chart for the last three days.

Warning Summary - Daily. Provides information on warnings in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Timeout Events. Displays information on timeout events in a table chart, including details on timestamp, severity, component, context, message, and source host for the last 24 hours.

Fatal Errors - Daily. Provides information on fatal errors in a table chart, including details on timestamp, severity, component, context, message, and source host for the last 24 hours.

Fatal Errors by Component. Shows fatal errors by component in a pie chart for the last 24 hours.

MongoDB Exit Events. Displays exit events in a table chart, including details on timestamp, severity, message, error description, context, and source host for the last 24 hours.

MongoDB - Logins and Connections

Location of Client Connection Requests. Performs a geo lookup operation and provides the location of client connection request by IP addresses on a map of the world for the last 24 hours.

Location of Failed Logins. Performs a geo lookup operation and provides the location of failed logins by IP addresses on a map of the world for the last 24 hours.

Failed Login Attempt Summary. Displays information on failed login attempts in a table chart, including details on timestamp, user, database, client IP, and reason for the last 24 hours.

Count of Failed Logins by User. Shows a count of failed logins by user in a table chart, including details on user, client IP, and count for the last 24 hours.

MongoDB - Queries

MongoDB queries include the following definitions:

  • MongoDB queries include the following database commands: find, insert, remove, delete or update.
  • Slow queries are defined as queries that take more than 100 milliseconds.
  • keysExamined are the number of index keys that MongoDB scanned in order to carry out the operation.

Number of Slow Queries. Displays the number of slow queries in a single value chart for the last 24 hours.

Count of Slow Queries by Connection ID. Shows the count of slow queries by connection ID in a bar chart for the last 24 hours.

Count of Slow Queries Over Time by Type. Provides the count of slow queries over time by type in a line chart on a timeline for the last 24 hours.

Queries by KeysExamined Value. Displays the queries by KeysExamined value in a table chart, including details on timestamp, duration (in seconds), DB command, DocsExamined, KeysExamined, nreturned, and message for the last three hours.

Slowest Running Queries by Type. Shows information on the slowest running queries by type in a table chart, including details on DB command and max duration in milliseconds for the last 24 hours.

Queries with KeysExamined Greater than nreturned. Displays the queries with KeysExamined greater than nreturned in a table chart, including details on timestamp, duration in milliseconds, DB command, DocsExamined, KeysExamined, nteturned, and message for the last 24 hours.

MongoDB - Replication

This Dashboard will only show data if you have Replication setup for MongoDB.

Number of Replication Errors. Displays the number of replication errors in a single value chart for the last 24 hours.

Replication Error Summary. Provides information on any replication errors in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Heartbeat Error Events. Shows information on any heartbeat error events in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Secondary Node(s) Too Stale. Displays information on any secondary node(s) that may have become too stale in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Number of Replication Warnings. Shows the number of replication warnings in a single value chart for the last 24 hours.

Replication Events. Displays all information on replication events in a table chart, including details on timestamp, severity, component, context, and message for the last 24 hours.

Replica Nodes. These Panels show changes in Replica Configuration within the last 7 days. NOTE: If there are no changes, then these Panels will be empty.

Primary Node. Displays any changes in the configuration of the primary node in a table chart, including details on host name, message, and state for the last 7 days.

Secondary Node(s). Shows any changes in the configuration of the secondary node(s) in a table chart, including details on host name, message, and state for the last 7 days.

Arbiter Node(s). Displays any changes in the configuration of the arbiter node(s) in a table chart, including details on host name, message, and state for the last 7 days.

MongoDB - Sharding

Count of Warnings. Displays the overall count of warnings in a single value chart for the last three days.

Summary of Warnings. Shows the summary of warnings in a table chart including details on timestamp, severity, component, context, message, and source host for the last three days.

Number of Chunks Moving by Collection. Provides information on the number of data chunks moving by collection in a column chart for the last three days.

Count of Errors. Displays the overall count of errors in a single value chart for the last three days.

Summary of Errors. Shows the summary of errors in a table chart including details on timestamp, severity, component, context, message, and source host for the last three days.

Number of Chunks Moving Between Shards. Provides information on the number of data chunks moving between shards in a column chart for the last three days.

Chunk Split Failures. Displays information on any chunk split failures in a table chart including details on timestamp, severity, component, context, message, source host, and count for the last three days.

Balancer Failures. Shows information on any balancer failures in a table chart including details on timestamp, severity, component, context, message, and source host for the last three days.

Number of Chunks Moving Between Shards. Provides information on the number of data chunks moving between shards in a pie chart for the last three days.