# Fluent-bit Datadog Plugin

### How to Integrate Fluent-bit Datadog Plugin with Apica Ascent

#### 1. Introduction

This guide explains how to send logs with the Datadog plugin from Apica Ascent to Datadog with Fluent-bit, and how to view them.

#### 2. Configure the Datadog Plugin in Fluent-bit

Update your Fluent-bit.conf with an output for the Datadog Plugin:

```
[OUTPUT]
    Name   datadog
    Match  ascent_logs
    Host   <datadogRegionURL>
    TLS    on
    Apikey <apiKey>
```

Datadog region URLs:

```
US:  http-intake.logs.datadoghq.com
EU:  http-intake.logs.datadoghq.eu
US3: http-intake.logs.us3.datadoghq.com
US5: http-intake.logs.us5.datadoghq.com
```

This output should be combined with an input such as the [HTTP](https://docs.apica.io/integrations/list-of-integrations/fluent-bit/fluent-bit-http-input-plugin) plugin.

Restart Fluent-bit with `systemctl restart fluent-bit` and check the status with `systemctl status fluent-bit` to verify that it’s running correctly.

[Official Plugin documentation.](https://docs.fluentbit.io/manual/pipeline/outputs/datadog)

[Set up Fluent-bit for Apica Ascent.](https://docs.apica.io/integrations/list-of-integrations/fluent-bit#fluent-bit-configuration)

#### 3. Verify Logs in Datadog

1\.     Log in to Datadog

2\.     Navigate to **Logs > Live Tail**

3\.     If you don’t see your logs you can search for them\
Example:

<figure><img src="/files/OtQPzXHwEmaAXxjca2mf" alt=""><figcaption></figcaption></figure>

#### 4. Example logs

Event Attributes:

{% code overflow="wrap" %}

```
{
app_name       Ascent_logs_From_Fluent-bit
event {
_size    373
_src_application         Exec
_src_namespace         Fluent-bit
date     1766416608.192148
exec     syslog.9.gz
hostname        localhost
message          {"This log has been exported from Apica Ascent","date":1766416608.192148,"exec":"syslog.9.gz","namespace":"Fluent-bit"}
timestamp      2025-12-22T15:16:49.210409017Z
}
host     localhost
namespace      Fluent-bit
severityString  info
sourcetype      _json
time     1766416609210
timestamp      2025-12-22T15:16:49Z
}
```

{% endcode %}

#### 5. Troubleshooting

[Fluent-bit Troubleshooting](https://docs.apica.io/integrations/list-of-integrations/fluent-bit/fluent-bit-troubleshooting)

If logs are not arriving in Datadog verify that the region your account is in is correct in the URL and that the api key is correct


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/integrations/list-of-integrations/fluent-bit/fluent-bit-datadog-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
