Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated translations - (machine translation) #18961

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ Puede habilitar la compatibilidad con FedRAMP globalmente configurando el parám

```shell
helm upgrade --install newrelic-bundle newrelic/nri-bundle \
 --set global.licenseKey=<YOUR LICENSE KEY> \
 --set global.cluster=<YOUR CLUSTER NAME> \
 --namespace=newrelic \
 --set newrelic-infrastructure.privileged=true \
 --set global.lowDataMode=true \
 --set kube-state-metrics.image.tag=<KSM VERSION> \
 --set kube-state-metrics.enabled=true \
 --set kubeEvents.enabled=true \
 --set global.fedramp.enabled=true
--set global.licenseKey=YOUR_LICENSE_KEY \
--set global.cluster=YOUR_CLUSTER_NAME \
--namespace=newrelic \
--set newrelic-infrastructure.privileged=true \
--set global.lowDataMode=true \
--set kube-state-metrics.image.tag=KSM_VERSION \
--set kube-state-metrics.enabled=true \
--set kubeEvents.enabled=true \
--set global.fedramp.enabled=true
```

Si utiliza un archivo values.yaml para su instalación, deberá habilitar el mismo parámetro.
Si emplea un archivo `values.yaml` para su instalación, deberá habilitar el mismo parámetro.

```yaml
...
Expand All @@ -42,7 +42,7 @@ global:
...
```

El ejemplo completo del archivo `nri-bundle` values.yaml se puede encontrar [aquí](https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml).
El ejemplo completo del archivo `nri-bundle` `values.yaml` se puede encontrar [aquí](https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml).

### Manifiesto [#manifest]

Expand All @@ -54,7 +54,20 @@ Si realiza la instalación utilizando el método de instalación Manifest de la
function ver { printf "%03d%03d" $(echo "$1" | tr '.' ' '); } && \
K8S_VERSION=$(kubectl version --short 2>&1 | grep 'Server Version' | awk -F' v' '{ print $2; }' | awk -F. '{ print $1"."$2; }') && \
if [[ $(ver $K8S_VERSION) -lt $(ver "1.25") ]]; then KSM_IMAGE_VERSION="v2.6.0"; else KSM_IMAGE_VERSION="v2.7.0"; fi && \
curl -X POST https://k8s-config-generator.service.newrelic.com/generate -H 'Content-Type: application/json' -d '{"global.cluster":"<YOUR CLUSTER NAME>>","global.namespace":"newrelic","newrelic-infrastructure.privileged":"true","global.lowDataMode":"true","kube-state-metrics.image.tag":"'${KSM_IMAGE_VERSION}'","kube-state-metrics.enabled":"true","kubeEvents.enabled":"true","global.licenseKey":"<YOUR LICENSE KEY>", "global.fedramp.enabled":"true"}' > newrelic.yaml && (kubectl create namespace newrelic ; kubectl apply -f newrelic.yaml)
curl -X POST https://k8s-config-generator.service.newrelic.com/generate \
-H 'Content-Type: application/json' \
-d '{
"global.cluster": "YOUR_CLUSTER_NAME",
"global.namespace": "newrelic",
"newrelic-infrastructure.privileged": "true",
"global.lowDataMode": "true",
"kube-state-metrics.image.tag": "'${KSM_IMAGE_VERSION}'",
"kube-state-metrics.enabled": "true",
"kubeEvents.enabled": "true",
"global.licenseKey": "YOUR_LICENSE_KEY",
"global.fedramp.enabled": "true"
}' > newrelic.yaml && \
(kubectl create namespace newrelic ; kubectl apply -f newrelic.yaml)
```

### Validar la configuración de FedRAMP
Expand All @@ -63,33 +76,33 @@ Hay un par de formas de validar que el extremo FedRAMP se haya configurado corre

#### Validación del mapa de configuración

```
$ kubectl get cm -n newrelic -o yaml | grep fedramp -A 1
fedramp:
enabled: true
--
cluster_name: minkube-fedramp-test
scrape_interval: 30s
--
fedramp: true
kind: ConfigMap
--
clusterName: minkube-fedramp-test
agentHTTPTimeout: 30s
--
clusterName: minkube-fedramp-test
fedramp: true
http_server_enabled: true
--
clusterName: minkube-fedramp-test
fedramp: true
http_server_enabled: true
--
clusterName: minkube-fedramp-test
features:
--
fedramp: true
http_server_enabled: true
```shell
kubectl get cm -n newrelic -o yaml | grep fedramp -A 1
[output] fedramp:
[output] enabled: true
[output] --
[output] cluster_name: minkube-fedramp-test
[output] scrape_interval: 30s
[output] --
[output] fedramp: true
[output] kind: ConfigMap
[output] --
[output] clusterName: minkube-fedramp-test
[output] agentHTTPTimeout: 30s
[output] --
[output] clusterName: minkube-fedramp-test
[output] fedramp: true
[output] http_server_enabled: true
[output] --
[output] clusterName: minkube-fedramp-test
[output] fedramp: true
[output] http_server_enabled: true
[output] --
[output] clusterName: minkube-fedramp-test
[output] features:
[output] --
[output] fedramp: true
[output] http_server_enabled: true
```

#### Pod log validación
Expand All @@ -102,7 +115,7 @@ Además, puede comprobar el valor `collectorURL` en el registro pod . Nuestro ag

Para validar que habilitó FedRAMP extremo correctamente, ejecute el comando `kubectl` como se indica a continuación y busque `collectorURL` en la salida log . Asegúrese de reemplazar el nombre del pod `newrelic-bundle-nrk8s-kubelet-f74g2` con un pod de su clúster.

```
$ kubectl logs newrelic-bundle-nrk8s-kubelet-f74g2 -n newrelic -c agent | grep collectorURL
time="2023-07-26T20:09:33Z" level=debug msg="Collector URL" action=NormalizeConfig collectorURL="https://gov-infra-api.newrelic.com" component=Configuration
```
```shell
kubectl logs newrelic-bundle-nrk8s-kubelet-f74g2 -n newrelic -c agent | grep collectorURL
[output] time="2023-07-26T20:09:33Z" level=debug msg="Collector URL" action=NormalizeConfig collectorURL="https://gov-infra-api.newrelic.com" component=Configuration
```
82 changes: 82 additions & 0 deletions src/i18n/content/es/docs/logs/forward-logs/kong-gateway.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
title: Reenvío de log de Kong Gateway
tags:
- Logs
- Enable log management in New Relic
- Enable log monitoring in New Relic
metaDescription: 'How to forward your logs to New Relic using our kong Gateway file log plugin, so you can use enhanced log management capabilities.'
freshnessValidatedDate: never
translationType: machine
---

El reenvío del log de Kong Gateway a New Relic proporciona información valiosa sobre el rendimiento, el estado, la seguridad y el uso de API Gateway. Este documento describe cómo dirigir el complemento de File Log de Kong Gateway para reenviar el log de Kong Gateway a New Relic.

## Compatibilidad y requisitos [#compatibility-requirements]

Para emplear este complemento de reenvío de log , necesitará lo siguiente:

* [ComplementoKubernetes ](/docs/logs/forward-logs/kubernetes-plugin-log-forwarding)instalado
* Kong Gateway instalado con [definiciones de recursos personalizadas (CRD)](https://docs.konghq.com/kubernetes-ingress-controller/latest/plugins/rate-limiting/#install-the-gateway-apis)

## Instalar el complemento Kong Gateway [#install-overview]

Para recibir el log de Kong Gateway, debe conectar el complemento de File Log de Kong Gateway a la New Relic Kubernetes integración . Esta configuración dirige el log a través de una salida estándar (`/dev/stdout`), que establece una conexión entre la integración New Relic Kubernetes y Kong Gateway.

<Steps>
<Step>
## Instale la integración de log New Relic Kubernetes [#install-k8s-logs]

Si aún no lo hizo, [instale el complemento New Relic Kubernetes para el reenvío de log](/docs/logs/forward-logs/kubernetes-plugin-log-forwarding) y luego regrese a este documento. El complemento emplea una imagen de Docker independiente que recopila y reenvía logs desde su entorno Kubernetes .
</Step>

<Step>
## Configurar el complemento de File Log [#install-config-filelog]

Una vez que haya [instalado el complemento de File Log de Kong Gateway](https://docs.konghq.com/hub/kong-inc/file-log/), debe indicarle al complemento que envíe el registro a `/dev/stdout`. A continuación se muestra un ejemplo de manifiesto para esta configuración:

```yaml
# file-log-plugin.yaml
apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: global-file-log
annotations:
kubernetes.io/ingress.class: kong
labels:
global: "true"
config:
path: "/dev/stdout" # Directs logs through a standard output so New Relic can receive Kong Gateway logs
plugin: file-log
```
</Step>

<Step>
## desplegar la configuración a tu clúster de Kubernetes [#deploy-config]

Implemente la configuración del complemento File Log en su clúster de Kubernetes, pero cerciorar de actualizar `file-log-plugin.yaml` con el nombre de archivo real de su manifiesto:

```bash
kubectl apply -f file-log-plugin.yaml -n kong
```
</Step>

<Step>
## Confirma que tus logs están en la plataforma New Relic [#confirm-logs-platform]

Una vez que implementó la configuración, vaya a **[one.newrelic.com &gt; All Capabilities &gt; Logs](https://one.newrelic.com/launcher/logger.log-launcher)**. Confirme que los registros de Kong Gateway estén apareciendo en la plataforma activando algunos datos y luego ejecutando una consulta que filtre esos datos.

Puedes comenzar a construir esa consulta con este ejemplo:

```sql
SELECT * FROM Log
```
</Step>
</Steps>

## ¿Que sigue? [#whats-next]

Ahora que estás reenviando tu log de Kong Gateway a New Relic, te recomendamos que consultes algunos de nuestros otros documentos y tutoriales:

* Siga nuestro tutorial para aprender a [gestionar un gran volumen de log](/docs/tutorial-manage-large-log-volume/get-started-managing-large-logs).
* Conozca [nuestra sintaxis de consulta de log](/docs/logs/ui-data/query-syntax-logs).
* Explore nuestros documentos sobre la UI de logs, comenzando con nuestro [documento de descripción general UI de logs](/docs/logs/ui-data/use-logs-ui)
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,13 @@ Los depósitos con límites en el infinito negativo y positivo se representan en

### Métrica de resumen OTLP [#otlp-summary]

[Las métricas resumidas](https://github.com/open-telemetry/opentelemetry-proto/blob/a05597bff803d3d9405fcdd1e1fb1f42bed4eb7a/opentelemetry/proto/metrics/v1/metrics.proto#L254-L256) de OTLP son similares al histograma en que resumen una población de medidas, incluida la suma y el conteo. Sin embargo, cuando los histogramas incluyen categorías para describir la distribución de las mediciones, los resúmenes incluyen cuantiles. Estos cuantiles son de uso limitado ya que no pueden sufrir reagregación espacial o temporal. Los resúmenes incluidos en OpenTelemetry para legacy soporte , y OpenTelemetry API y el SDK no producen resúmenes.
[Los resúmenes métricos](https://github.com/open-telemetry/opentelemetry-proto/blob/a76fe9dea26871e8a6c494024bc9927fe73b8142/opentelemetry/proto/metrics/v1/metrics.proto#L274-L276) de OTLP son similares al histograma en que resumen una población de mediciones, incluida la suma y el recuento. Sin embargo, cuando el histograma incluye segmentos para describir la distribución de las mediciones, los resúmenes incluyen cuantiles. Estos cuantiles son de uso limitado ya que no pueden sufrir reagregación espacial o temporal. Resúmenes incluidos en OpenTelemetry para legacy soporte , y OpenTelemetry API y el SDK no producen resúmenes.

Los resúmenes están traducidos a New Relic [`summary`](/docs/data-apis/understand-data/metric-data/metric-data-type/#metric-types).
Los resúmenes se traducen a New Relic [`summary`](/docs/data-apis/understand-data/metric-data/metric-data-type/#metric-types). Tenga en cuenta que el tipo de resumen New Relic no admite cuantiles.

<Callout variant="important">
Si bien los resúmenes se ingieren y traducen a un New Relic [`summary`](/docs/data-apis/understand-data/metric-data/metric-data-type/#metric-types), no reciben el soporte adecuado. New Relic asume que los resúmenes representan un delta desde la última medición cuando en realidad son métricas acumulativas (ver [temporalidad de agregación](#aggregation-temporality)). Los resúmenes son emitidos más comúnmente por Prometheus, que es un sistema métrico acumulativo. Por lo tanto, New Relic actualmente no admite el caso de uso más común. Como tal, experimentará un comportamiento inesperado para su métrica de resumen, incluida una ingesta fallida.
</Callout>

## Temporalidad de agregación [#aggregation-temporality]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ Helm インストールの実行時に `global.fedramp.enabled` パラメータ

```shell
helm upgrade --install newrelic-bundle newrelic/nri-bundle \
 --set global.licenseKey=<YOUR LICENSE KEY> \
 --set global.cluster=<YOUR CLUSTER NAME> \
 --namespace=newrelic \
 --set newrelic-infrastructure.privileged=true \
 --set global.lowDataMode=true \
 --set kube-state-metrics.image.tag=<KSM VERSION> \
 --set kube-state-metrics.enabled=true \
 --set kubeEvents.enabled=true \
 --set global.fedramp.enabled=true
--set global.licenseKey=YOUR_LICENSE_KEY \
--set global.cluster=YOUR_CLUSTER_NAME \
--namespace=newrelic \
--set newrelic-infrastructure.privileged=true \
--set global.lowDataMode=true \
--set kube-state-metrics.image.tag=KSM_VERSION \
--set kube-state-metrics.enabled=true \
--set kubeEvents.enabled=true \
--set global.fedramp.enabled=true
```

インストールにvalues.yamlファイルを使用する場合は、同じパラメータを有効にします
インストレーションに`values.yaml`ファイルを使用する場合は、同じものを有効にします

```yaml
...
Expand All @@ -42,7 +42,7 @@ global:
...
```

`nri-bundle` value.yaml ファイルの完全な例は、 [ここに](https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml)あります
完全な`nri-bundle` `values.yaml`ファイルの例については、[こちらを](https://github.com/newrelic/helm-charts/blob/master/charts/nri-bundle/values.yaml)参照してください

### マニフェスト [#manifest]

Expand All @@ -54,7 +54,20 @@ global:
function ver { printf "%03d%03d" $(echo "$1" | tr '.' ' '); } && \
K8S_VERSION=$(kubectl version --short 2>&1 | grep 'Server Version' | awk -F' v' '{ print $2; }' | awk -F. '{ print $1"."$2; }') && \
if [[ $(ver $K8S_VERSION) -lt $(ver "1.25") ]]; then KSM_IMAGE_VERSION="v2.6.0"; else KSM_IMAGE_VERSION="v2.7.0"; fi && \
curl -X POST https://k8s-config-generator.service.newrelic.com/generate -H 'Content-Type: application/json' -d '{"global.cluster":"<YOUR CLUSTER NAME>>","global.namespace":"newrelic","newrelic-infrastructure.privileged":"true","global.lowDataMode":"true","kube-state-metrics.image.tag":"'${KSM_IMAGE_VERSION}'","kube-state-metrics.enabled":"true","kubeEvents.enabled":"true","global.licenseKey":"<YOUR LICENSE KEY>", "global.fedramp.enabled":"true"}' > newrelic.yaml && (kubectl create namespace newrelic ; kubectl apply -f newrelic.yaml)
curl -X POST https://k8s-config-generator.service.newrelic.com/generate \
-H 'Content-Type: application/json' \
-d '{
"global.cluster": "YOUR_CLUSTER_NAME",
"global.namespace": "newrelic",
"newrelic-infrastructure.privileged": "true",
"global.lowDataMode": "true",
"kube-state-metrics.image.tag": "'${KSM_IMAGE_VERSION}'",
"kube-state-metrics.enabled": "true",
"kubeEvents.enabled": "true",
"global.licenseKey": "YOUR_LICENSE_KEY",
"global.fedramp.enabled": "true"
}' > newrelic.yaml && \
(kubectl create namespace newrelic ; kubectl apply -f newrelic.yaml)
```

### FedRAMP 設定を検証する
Expand All @@ -63,33 +76,33 @@ FedRAMP エンドポイントが正常に構成されたことを検証するに

#### ConfigMap の検証

```
$ kubectl get cm -n newrelic -o yaml | grep fedramp -A 1
fedramp:
enabled: true
--
cluster_name: minkube-fedramp-test
scrape_interval: 30s
--
fedramp: true
kind: ConfigMap
--
clusterName: minkube-fedramp-test
agentHTTPTimeout: 30s
--
clusterName: minkube-fedramp-test
fedramp: true
http_server_enabled: true
--
clusterName: minkube-fedramp-test
fedramp: true
http_server_enabled: true
--
clusterName: minkube-fedramp-test
features:
--
fedramp: true
http_server_enabled: true
```shell
kubectl get cm -n newrelic -o yaml | grep fedramp -A 1
[output] fedramp:
[output] enabled: true
[output] --
[output] cluster_name: minkube-fedramp-test
[output] scrape_interval: 30s
[output] --
[output] fedramp: true
[output] kind: ConfigMap
[output] --
[output] clusterName: minkube-fedramp-test
[output] agentHTTPTimeout: 30s
[output] --
[output] clusterName: minkube-fedramp-test
[output] fedramp: true
[output] http_server_enabled: true
[output] --
[output] clusterName: minkube-fedramp-test
[output] fedramp: true
[output] http_server_enabled: true
[output] --
[output] clusterName: minkube-fedramp-test
[output] features:
[output] --
[output] fedramp: true
[output] http_server_enabled: true
```

#### ポッドログの検証
Expand All @@ -102,7 +115,7 @@ $ kubectl get cm -n newrelic -o yaml | grep fedramp -A 1

FedRAMP エンドポイントが正常に有効になったことを検証するには、以下に示すように `kubectl` コマンドを実行し、ログ出力で `collectorURL` を探します。必ず、 `newrelic-bundle-nrk8s-kubelet-f74g2` ポッド名をクラスターのポッドに置き換えてください。

```
$ kubectl logs newrelic-bundle-nrk8s-kubelet-f74g2 -n newrelic -c agent | grep collectorURL
time="2023-07-26T20:09:33Z" level=debug msg="Collector URL" action=NormalizeConfig collectorURL="https://gov-infra-api.newrelic.com" component=Configuration
```
```shell
kubectl logs newrelic-bundle-nrk8s-kubelet-f74g2 -n newrelic -c agent | grep collectorURL
[output] time="2023-07-26T20:09:33Z" level=debug msg="Collector URL" action=NormalizeConfig collectorURL="https://gov-infra-api.newrelic.com" component=Configuration
```
Loading
Loading