> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dynatrace Logs destination plugin

> Configure the Dynatrace Logs destination plugin in Palo Alto Networks Telemetry Pipeline to send logs to Dynatrace.

export const entity_0 = "Dynatrace Logs destination plugin"

export const plugin_0 = "Dynatrace Logs destination plugin"

<Info>
  This information is for Palo Alto Networks Telemetry Pipeline, which is a standalone
  product separate from Palo Alto Networks Cortex XCOR.
</Info>

The Dynatrace Logs [destination plugin](/ingest/pipeline/plugins/destination-plugins)
(name: `http`, alias: `Dynatrace`) lets you configure your telemetry pipeline to
send your log data to Dynatrace.

## Supported telemetry types

The {plugin_0} for Palo Alto Networks Telemetry Pipeline supports these telemetry types:

| Logs | Metrics | Traces |
| :-: | :-: | :-: |
| <Icon icon="circle-check" color="green" /> | <Icon icon="ban" color="red" /> | <Icon icon="ban" color="red" /> |

## Configuration parameters

Use the parameters in this section to configure the {entity_0}. The
Palo Alto Networks Telemetry Pipeline web interface uses the items in the **Name** column to
describe these parameters. [Pipeline configuration files](/ingest/pipeline/v2/configure/config-files)
use the items in the **Key** column as YAML keys.

### General

| Name | Key | Description | Default |
| - | - | - | - |
| **Dynatrace Environment URL** | `host` | Required. The URL for your Dynatrace instance. For example, `{YOUR-ENVIRONMENT_ID}.live.dynatrace.com`. | *none* |
| **Dynatrace API Token** | `header` | Adds an HTTP header key-value pair for the API token. You can set multiple headers. | *See the following table.* |

The following headers are to set your Dynatrace API Token:

| Key | Value |
| - | - |
| **Authorization** | `Api-Token [REPLACE WITH DYNATRACE API TOKEN]` |
| **Content-Type** | `application/json; charset=utf-8` |

### Advanced

| Name | Key | Description | Default |
| - | - | - | - |
| **Port for Dynatrace** | `port` | The port number of the Dynatrace Logs API. | `443` |
| **URI** | `uri` | The URI of the Dynatrace Logs API. | `/api/v2/logs/ingest` |
| **Allow Duplicated Headers** | `allow_duplicated_headers` | Setting to ensure no duplicate Authorization API-Tokens are present. | `false` |
| **HTTP Proxy** | `proxy` | Specifies an HTTP Proxy. The expected format of this value is `http://host:port`. | *none* |
| **Format** | `format` | Specifies the data format to be used in the HTTP request body. Accepted values: `json`, `json_lines`, `json_stream`. | `json` |
| **JSON Date Format** | `json_date_format` | Specifies the format of the date. Accepted values: `double`, `epoch`, `iso8601` (for example, `2018-05-30T09:39:52.000681Z`), `java_sql_timestamp` (for example, `2018-05-30 09:39:52.000681`, which can be used with AWS Athena). | `iso8601` |
| **JSON Date Key** | `json_date_key` | Specifies the name of the date field in output. | `timestamp` |
| **Body Key** | `body_key` | Specifies the key that contains the body. | *none* |
| **Header Tag** | `header_tag` | Sets an HTTP header whose value is the tag of the record. | *none* |
| **Header Key** | `headers_key` | Specifies the key that contains the headers. | *none* |

### Security and TLS

| Name | Key | Description | Default |
| - | - | - | - |
| **TLS** | `tls` | If `true`, enables TLS/SSL. If `false`, disables TLS/SSL. Accepted values: `true`, `false`. | `false` |
| **TLS Certificate Validation** | `tls.verify` | If `on`, and if `tls` is `true`, enables TLS/SSL certificate validation. If `off`, disables TLS/SSL certificate validation. Accepted values: `on`, `off`. | `on` |
| **TLS Debug Level** | `tls.debug` | Sets TLS debug verbosity level. Accepted values: `0` (No debug), `1` (Error), `2` (State change), `3` (Informational), `4` (Verbose). | `1` |
| **CA Certificate File Path** | `tls.ca_file` | Absolute path to CA certificate file. | *none* |
| **Certificate File Path** | `tls.crt_file` | Absolute path to certificate file. | *none* |
| **Private Key File Path** | `tls.key_file` | Absolute path to private key file. | *none* |
| **Private Key Path Password** | `tls.key_passwd` | Password for private key file. | *none* |
| **TLS SNI Hostname Extension** | `tls.vhost` | Hostname to be used for TLS SNI extension. | *none* |

### Advanced Networking

| Name | Key | Description | Default |
| - | - | - | - |
| **DNS Mode** | `net.dns.mode` | Selects the primary DNS connection type, which can be `TCP` or `UDP`. | *none* |
| **DNS Resolver** | `net.dns.resolver` | Selects the primary DNS connection type, which can be `LEGACY` or `ASYNC`. | *none* |
| **Prefer IPv4** | `net.dns.prefer_ipv4` | Prioritizes IPv4 DNS results when trying to establish a connection. Accepted values: `true`, `false`. | `false` |
| **Keepalive** | `net.keepalive` | Enables or disables Keepalive support. Accepted values: `true`, `false`. | `true` |
| **Keepalive Idle Timeout** | `net.keepalive_idle_timeout` | Sets the maximum time allowed for an idle Keepalive connection. | `30s` |
| **Max Connect Timeout** | `net.connect_timeout` | Sets the maximum time allowed to establish a connection, which includes the TLS handshake. | `10s` |
| **Max Connect Timeout Log Error** | `net.connect_timeout_log_error` | Specifies whether to log an error on connection timeout. When disabled, the timeout is logged as a debug message. Accepted values: `true`, `false`. | `true` |
| **Source Address** | `net.source_address` | Specifies the network address to bind for data traffic. | *none* |
| **Max Keepalive Recycle** | `net.keepalive_max_recycle` | Sets the maximum number of times a keepalive connection can be used before it's retired. | `2000` |


## Related topics

- [Datadog Logs destination plugin](/ingest/pipeline/plugins/destination-plugins/datadog.md)
- [Oracle Log Analytics destination plugin](/ingest/pipeline/plugins/destination-plugins/oracle.md)
- [Azure Monitor Logs destination plugin](/ingest/pipeline/plugins/destination-plugins/azure-monitor.md)
- [Cortex XCOR Logs destination plugin](/ingest/pipeline/plugins/destination-plugins/chronosphere.md)
- [New Relic Logs destination plugin](/ingest/pipeline/plugins/destination-plugins/new-relic.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.