Skip to content

Commit

Permalink
fix(Logs): Security and API
Browse files Browse the repository at this point in the history
some small edits.
  • Loading branch information
barbnewrelic committed Oct 7, 2021
1 parent dca348e commit 93a07df
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Numbers that appear to be a credit card (thirteen to sixteen digits) are obfusca

Nine-digit numbers with hyphens that appear to be Social Security numbers, such as `123-45-6789`, are obfuscated as `XXXXXXXXX`. Nine-digit numbers with spaces, such as `123 45 6789`, or hyphens in a different pattern, such as `12-345-67-89`, are not automatically obfuscated.

If you need to opt out of automatic obfuscation, get support at [support.newrelic.com](https//:support.newrelic.com).
If you need to opt out of automatic obfuscation, get support at [support.newrelic.com](https://support.newrelic.com).

## Customize your security settings [#customize-security]

The data you send to New Relic, including any additional filtering, is controlled by the configuration of the [log forwarder you use](/docs/logs/forward-logs/enable-log-management-new-relic/). Because you control what customer data is logged, be sure to follow your organization's security guidelines to mask, obfuscate, or prevent sending any sensitive data.
The data you send to New Relic, including any additional filtering, is controlled by the configuration of the [log forwarder](/docs/logs/forward-logs/enable-log-management-new-relic/) you use. You control what customer data is logged, so be sure to follow your organization's security guidelines to mask, obfuscate, or prevent sending any sensitive data.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tags:
- Logs
- Log management
- Log API
metaDescription: Use New Relic's Log API so you can send your monitored log data directly to New Relic via HTTP input.
metaDescription: Use our Log API so you can send your monitored log data directly to New Relic via HTTP input.
redirects:
- /docs/enable-new-relic-logs-http-input
- /docs/introduction-new-relic-logs-api
Expand All @@ -17,26 +17,19 @@ redirects:
- /docs/telemetry-data-platform/get-data/apis/introduction-log-api
---

If our [logging solutions](/docs/logs/enable-logs/enable-logs/enable-new-relic-logs) don't meet your needs, you can use our Log API to send [log data](/docs/using-new-relic/data/understand-data/new-relic-data-types#log-data) directly to [New Relic's Log management](/docs/logs/new-relic-logs/get-started/introduction-new-relic-logs) via an HTTP endpoint.
If our [log forwarding solutions](/docs/logs/forward-logs/enable-log-management-new-relic/) don't meet your needs, you can use our Log API to send log data directly to New Relic via an HTTP endpoint.

Want to try out our Log API? [Create a New Relic account](https://newrelic.com/signup) for free! No credit card required.

## Compatibility and requirements [#compatibility-requirements]

Requirements include:

* A [New Relic license key](/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key)
* For payload details, see [limits and restricted characters](#limits).

## HTTP setup [#setup]

To send log data to your New Relic account:

1. Get your [New Relic license key](/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key).
2. Generate the JSON message using the required [headers](#json-headers) and [body](#json-body) fields.
3. Ensure you're providing an Api-Key or License-Key via [headers](#json-headers) or [query parameters](#query-parameters)
4. Submit the JSON message to the [HTTP endpoint](#endpoint) in a **POST** request.
5. Generate some traffic and wait a few minutes, then [check your account](#find-data) for data.
1. Get your [New Relic license key](/docs/apis/intro-apis/new-relic-api-keys/#ingest-license-key).
2. Review the information about [limits and restricted characters](#limits) for payloads.
3. Generate the JSON message using the required [headers](#json-headers) and [body](#json-content) fields. Provide your `Api-Key` or `License-Key` via [headers](#json-headers) or [query parameters](#query-parameters).
5. Submit the JSON message to the [HTTP endpoint](#endpoint) in a `POST` request.
6. Generate some traffic and wait a few minutes, then [check your account](#what-next) for data.

## HTTP headers [#json-headers]

Expand Down Expand Up @@ -919,16 +912,13 @@ POST /log/v1 HTTP/1.1
}
```

## Find log data [#find-data]

For where to find data sent via the Log API (including from integrations that use that API), see [Find log data](/docs/logs/new-relic-logs/get-started/introduction-new-relic-logs#find-data).

## What's next? [#what-next]

Now that you've enabled Log management, here are some potential next steps:
Make the most of your data in New Relic with our log management capabilities:

* Explore your data using the [Logs UI](/docs/explore-your-data-new-relic-logs-ui).
* [Configure your agent](/docs/logs/new-relic-logs/enable-logs-context/enable-logs-context-apm-agents) to see contextual log data, such as [distributed tracing](/docs/understand-dependencies/distributed-tracing/get-started/introduction-distributed-tracing), stack traces, application logs, and more.
* [Query your data](/docs/logs/new-relic-logs/ui-data/query-syntax-logs) and [create custom dashboards](/docs/insights/use-insights-ui/manage-dashboards/create-edit-copy-insights-dashboards), [charts](/docs/insights/use-insights-ui/manage-dashboards/add-customize-nrql-charts), or [alerts](/docs/alerts/new-relic-alerts/configuring-alert-policies/create-edit-or-find-alert-policy).
* Explore the logging data across your platform with our [Logs UI](/docs/logs/log-management/ui-data/use-logs-ui/).
* Get deeper visibility into both your application and your platform performance data by forwarding your logs with our [logs in context](/docs/logs/logs-context/configure-logs-context-apm-agents/) capabilities.
* Set up [alerts](/docs/alerts-applied-intelligence/new-relic-alerts/alert-conditions/create-alert-conditions/).
* [Query](/docs/query-your-data/explore-query-data/get-started/introduction-querying-new-relic-data/) your data and [create dashboards](/docs/query-your-data/explore-query-data/dashboards/introduction-dashboards/). For example, to query your data with NerdGraph, our GraphQL-format API, see our [NerdGraph NRQL tutorial](/docs/apis/nerdgraph/examples/nerdgraph-nrql-tutorial/).

If no data appears after you enable Log management, follow the [troubleshooting procedures](/docs/logs/new-relic-logs/troubleshooting/no-data-appears-logs).
If no data appears after you enable log management, follow the [troubleshooting procedures](/docs/logs/log-management/troubleshooting/no-log-data-appears-ui/).

0 comments on commit 93a07df

Please sign in to comment.