> 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/1AlFSZBNMIBgs7fiOwFD/early-access/logging-service/overview/log-sources.md).

# Log Sources

Depending on the origins of the logs, it may be necessary to adopt a different approach for the installation and configuration of [FluentBit](https://docs.fluentbit.io/manual).

However, to provide convenient parsing and data labeling, we accept 4 different log sources, which need a different setup and configuration.

## Kubernetes

You may need this method to collect and ship your Kubernetes application's logs. [FluentBit](https://docs.fluentbit.io/manual/installation/kubernetes) offers a wide range of information on how to set up FluentBit on your Kubernetes cluster. However, you are welcome to try our [Example Kubernetes Configuration](https://github.com/ionos-cloud/laas-user-documentation/tree/main/examples/kubernetes).

## Docker

If you have a set of applications on Docker, we recommend using our [Example Docker configuration](https://github.com/ionos-cloud/laas-user-documentation/tree/main/examples/docker). However, you can find more information about Docker configuration on [FluentBit's official website](https://docs.fluentbit.io/manual/installation/docker).

## Linux Systemd

To set up FluentBit in a Linux system with systems, journald you need to install an appropriate package for your distribution. Instructions on doing so can be found on the [FluentBit's official website](https://docs.fluentbit.io/manual/installation/getting-started-with-fluent-bit). You can find a sample configuration in our [Example Section](https://github.com/ionos-cloud/laas-user-documentation/tree/main/examples/systemd).

## HTTP (JSON)

You can even send logs in a JSON format through our HTTP REST endpoint. Example:

```bash
curl -X "POST" "https://12be6dbe134f-logs.3b0b424eb27f.logging.de-txl.ionos.com/myhttp" \
     -H 'Content-Type: application/json' \
     -H 'APIKEY: <KEY>' \
     -d $'{
  "status": "Ready",
  "ts": 1580306777.04728,
  "pod": {
    "name": "Example Name",
    "namespace": "data"
  },
  "msg": "Pod status updated",
  "level": "error",
  "label_1": "test label"
}'
```

{% hint style="info" %}
**Note:** Technically, you can send logs with FluentBit from any sources as long as the communication is supported: **TCP** and **HTTP(JSON)**. However, at the moment, we provide convenient parsing with the above log sources.
{% endhint %}


---

# 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/1AlFSZBNMIBgs7fiOwFD/early-access/logging-service/overview/log-sources.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.
