Skip to content

Commit

Permalink
TCP API Update
Browse files Browse the repository at this point in the history
Updated the directions in the doc to remove step #4 since it was unnecessary and didn't match our blog on the same topic.
  • Loading branch information
lchapman4 committed Aug 20, 2021
1 parent 4b6b8ea commit da52d89
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ To forward logs to New Relic with `rsyslog`:
)
```
3. In the `/etc/rsyslog.d/` directory, create a text file named `newrelic.conf`.
4. Explicitly include the newly created `newrelic.conf` to the `/etc/rsyslog.d/` file:

```
include(file="/etc/rsyslog.conf.d/newrelic.conf")
```
5. Add the following to `newrelic.conf`, replacing `YOUR_INSERT_KEY` with your New Relic [Insights API Insert key](/docs/telemetry-data-platform/ingest-manage-data/ingest-apis/use-event-api-report-custom-events#register):
4. Add the following to `newrelic.conf`, replacing `YOUR_INSERT_KEY` with your New Relic [Insights API Insert key](/docs/telemetry-data-platform/ingest-manage-data/ingest-apis/use-event-api-report-custom-events#register):

```
## Specify each of the files to be tailed in case step 1 is done
Expand Down Expand Up @@ -77,12 +72,12 @@ To forward logs to New Relic with `rsyslog`:
StreamDriverMode="1"
)
```
6. Restart the `rsyslog` service by running:
5. Restart the `rsyslog` service by running:

```
sudo systemctl restart rsyslog
```
7. [Check your New Relic account](/docs/logs/log-management/ui-data/explore-your-data-log-analytics) for logs.
6. [Check your New Relic account](/docs/logs/log-management/ui-data/explore-your-data-log-analytics) for logs.

## Legacy config file for rsyslog 7 or earlier [#legacy-rsyslog]

Expand Down

0 comments on commit da52d89

Please sign in to comment.