---
title: Logstash
slug: telemetry-pipeline/logstash
docTags: 
createdAt: 2025-04-20T16:55:37.169Z
---

## 🔌 Basic Connection Setup

### address (required, string)

The socket address to bind and listen for incoming connections.

Can also accept systemd#&#x7B;N} to use a socket passed by systemd socket activation.

Must include a port if using an IP/hostname.

Example: 0.0.0.0:9000 or systemd#0



### connection\_limit (optional, uint)

Maximum number of simultaneous TCP connections allowed.

&#x20;Prevents overload in high-traffic scenarios.



### receive\_buffer\_bytes (optional, uint)

Buffer size (in bytes) allocated for each incoming connection.

&#x20;Affects how much data is read at once.

Example: 8192



### Permit\_origin (optional, \[string])

List of IP networks allowed to connect.

Must be in CIDR format.

Useful for restricting access.

Example: \`\["192.168.0.0/16", "10.0.0.0/8"]



## ♻️ TCP Keepalive

### keepalive.time\_secs (optional, uint)

Seconds to wait before sending keepalive probes on idle connections.

Helps detect and clean up stale connections.



## 🔐 TLS Configuration

- tls.enabled (optional, bool)

Enables TLS encryption for connections.

Required when serving secure traffic.

- tls.ca\_file (optional, string)

Path to CA certificate (PEM or DER) used for validating client certificates.

&#x20;Can also be provided inline in PEM format.

- tls.crt\_file (optional, string)

Path to the server’s TLS certificate.

If not a PKCS#12 archive, key\_file must also be set.

- tls.key\_file (optional, string)

Path to the server’s private key file (PEM, PKCS#8).

Used alongside crt\_file.

- tls.key\_pass (optional, string)

Passphrase for unlocking an encrypted private key file.

- tls.server\_name (optional, string)

Server Name Indication (SNI) used in outgoing TLS connections.

- tls.alpn\_protocols (optional, \[string])

List of ALPN protocols to negotiate with the peer, in order of preference.

- tls.client\_metadata\_key (optional, string)

Key name used to inject client certificate metadata into events.

- tls.verify\_certificate (optional, bool)

Enables certificate validation.

&#x20;Validates expiration and trust chain.

⚠️ Do not disable unless absolutely necessary.

- tls.verify\_hostname (optional, bool)

Enables hostname verification against the certificate.

&#x20;Only for outgoing connections.

⚠️ Disabling skips validation of the remote host identity.
