> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/quick-start/send-logs-to-platform.md).

# Send Logs to the Platform

{% hint style="info" %}
**Prerequisites:** To send logs to the logging platform, you must have the following:

* A `Ready` pipeline instance to obtain the `tcpAddress` or `httpAddress`.
* A [<mark style="color:blue;">key</mark>](/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/api-how-tos/obtain-key.md) that you already obtained.
* Fluent Bit log agent installed in your platform. For more information, see [<mark style="color:blue;">Getting Started with Fluent Bit</mark>](https://docs.fluentbit.io/manual/installation/getting-started-with-fluent-bit).
  {% endhint %}

Based on your infrastructure—whether it uses Kubernetes, Docker, or Linux Systemd—you may follow different instructions to set up and install Fluent Bit. However, ensure that the Fluent Bit's output configuration contains the following:

* A log server endpoint is either a `tcpAddress` or a `httpAddress`, based on your log source.
* A `Shared_Key` is required for authentication.
* The `Tag` that you defined while creating the pipeline.

Here is an example of a Fluent Bit configuration that needs an endpoint, tag, and a key:

```editorconfig
[OUTPUT]
    Name            forward
    Match           *
    Port            9000
    Tag             <TAG>
    Host            <TCP_ENDPOINT>
    tls             on
    Shared_Key      <KEY>
```

{% hint style="warning" %}
**Warning:** The port must be set to **9000** if you are using a TCP protocol.
{% endhint %}

## Troubleshooting

Fluent Bit can be configured to expose more verbose logs for troubleshooting purposes.

```editorconfig
[OUTPUT]
    Log_Level      debug
```

For more information, see [<mark style="color:blue;">Fluent Bit global configuration</mark>](https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file).


---

# 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.ionos.com/cloud/~/revisions/bM7yG7XCmGE9IxWqMpBu/managed-services/logging-service/quick-start/send-logs-to-platform.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.
