---
title: Send Logs to Observability Pipelines with Filebeat
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Observability Pipelines > Sources > Send Logs to Observability
  Pipelines with Filebeat
---

# Send Logs to Observability Pipelines with Filebeat

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Overview{% #overview %}

Use the Logstash source to send logs to Observability Pipelines with Filebeat.

## Setup{% #setup %}

1. [Set up Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/setup-repositories.html) if you haven't already.

1. In the `filebeat.yml` file:a. Comment out the Elasticsearch Output configuration section.b. Uncomment and configure the Logstash Output section:

   ```
   # ------------------------------ Logstash Output -------------------------------
   output.logstash:
   # The Logstash hosts
   hosts: ["<OPW_HOST>:9997"]
   ```

`<OPW_HOST>` is the host IP address or the load balancer URL associated with the Observability Pipelines Worker.

For CloudFormation installs, use the `LoadBalancerDNS` CloudFormation output for the URL.

For Kubernetes installs, you can use the internal DNS record of the Observability Pipelines Worker service. For example: `opw-observability-pipelines-worker.default.svc.cluster.local`.

1. [Set up a pipeline](https://docs.datadoghq.com/observability_pipelines/configuration/set_up_pipelines/) with the Logstash source.
