> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/integrations/list-of-integrations/fluent-bit/fluent-bit-collectd-plugin.md).

# Fluent-bit Collectd Plugin

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

#### 1. Introduction

This guide explains how to send collectd metrics to Apica Ascent with Fluent-bit, and how to view them.

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

Update your Fluent-bit.conf with an input and filter for the Collectd Plugin:

```
[INPUT]
    Name    collectd
    Listen  0.0.0.0
    Port    25826
    Tag     collectd
    TypesDB /usr/share/collectd/types.db
```

```
 [FILTER]
    Name   modify
    Match  collectd
    Add    namespace Fluent-bit
    Add    app_name Collectd
```

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

Helpful links:

* [Official Plugin documentation.](https://docs.fluentbit.io/manual/data-pipeline/inputs/collectd)
* [Set up Fluent-bit for Apica Ascent.](https://docs.apica.io/integrations/list-of-integrations/fluent-bit#fluent-bit-configuration)

#### 3. Verify Logs in Apica Ascent

1\.     Log in to Apica Ascent

2\.     Navigate to Explore → Logs & Insights

3\.     Look for the namespace and application name specified in the config file\
Example:

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

#### 4. Example logs

message :

{% code overflow="wrap" %}

```
{"app_name":"Collectd","date":1765310916.194747,"host":"integration","interval":10,"namespace":"Fluent-bit","plugin":"irq","plugin_instance":"","time":1765310914.815458,"type":"irq","type_instance":"HYP","value":4}
```

{% endcode %}

StructuredData :

```
_size: 228 
date: 1765311555.253928
interval: 10
plugin: processes
type: ps_state
type_instance: 
running value: 0
```

#### 5. Troubleshooting

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

Make sure the TypesDB file path is set correctly, wrong path can cause initialization error in fluent-bit.

&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
