Skip to content

Commit

Permalink
Merge pull request #7187 from lchapman4/MongoDB-default-logging-templ…
Browse files Browse the repository at this point in the history
…ate-doc

Added Doc for Logging Template
  • Loading branch information
bradleycamacho committed Apr 20, 2022
2 parents 5980715 + b6f1508 commit c951495
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ To install the MongoDB integration, follow the instructions for your environment
```
4. Edit the `mongodb-config.yml` file as described in the [configuration settings](#config).
5. [Restart the infrastructure agent](/docs/infrastructure/new-relic-infrastructure/configuration/start-stop-restart-check-infrastructure-agent-status).
6. To enable automatic MongoDB error log parsing and forwarding, copy (or rename) the `mongodb-log.yml.example` file to `mongodb-log.yml`. No need to restart the agent.

**Example:**

```
sudo cp /etc/newrelic-infra/logging.d/mongodb-log.yml.example /etc/newrelic-infra/logging.d/mongodb-log.yml
```
</Collapser>

<Collapser
Expand Down

0 comments on commit c951495

Please sign in to comment.