Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* [Amazon Linux](installation/downloads/linux/amazon-linux.md)
* [Rocky Linux and Alma Linux ](installation/downloads/linux/alma-rocky.md)
* [Red Hat and CentOS](installation/downloads/linux/redhat-centos.md)
* [openSUSE / SLES](installation/downloads/linux/suse.md)
* [Debian](installation/downloads/linux/debian.md)
* [Ubuntu](installation/downloads/linux/ubuntu.md)
* [Raspbian and Raspberry Pi](installation/downloads/linux/raspbian-raspberry-pi.md)
Expand Down
2 changes: 2 additions & 0 deletions installation/downloads.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Fluent Bit supports the following operating systems and architectures:
| macOS | * | x86_64, Apple M1 |
| Windows | [Windows Server 2019](downloads/windows.md) | x86_64, x86 |
| | [Windows 10 1903](downloads/windows.md) | x86_64, x86 |
| | [openSUSE Leap 15.6](downloads/linux/suse.md) | x86_64, Arm64v8 |
| | [SUSE Linux Enterprise Server (SLES) 15.7](downloads/linux/suse.md) | x86_64, Arm64v8 |

From an architecture support perspective, Fluent Bit is fully functional on x86_64, Arm64v8, and Arm32v7 based processors.

Expand Down
137 changes: 137 additions & 0 deletions installation/downloads/linux/suse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
# openSUSE and SUSE Linux Enterprise Server (SLES)

Check warning on line 1 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'openSUSE and SUSE Linux Enterprise Server (SLES)' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'openSUSE and SUSE Linux Enterprise Server (SLES)' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 1, "column": 3}}}, "severity": "INFO"}

Fluent Bit is distributed as the `fluent-bit` package and is available for OpenSUSE-Leap 15.6 and SLES 15.7 systems.

Fluent Bit supports the following architectures:

- `x86_64`
- `aarch64`
- `arm64v8`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, aarch64 and arm64v8 could be same.
If we use arm64v8 term on this project, we need to distinguish arm64v9 in the future.
This could be hard for us.
What do you think of it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, using aarch64 would be better going forward and is the standard. I can push an update. Other linux distro documentation here uses arm64v8 which may be confusing.

Also noting that the packaging scripts heavily use arm64v8 as a naming convention.


Fluent Bit supports the following distro versions:

Check warning on line 11 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Spelling] Spelling check: 'distro'? Raw Output: {"message": "[FluentBit.Spelling] Spelling check: 'distro'?", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 11, "column": 35}}}, "severity": "INFO"}

- opensuse/leap:15.6
- sles/15.7

For openSUSE, Fluent Bit uses [openSUSE Leap Base Container Images (BCI)](https://build.opensuse.org/project/show/openSUSE:Containers:Leap) as the canonical base system.

For SLES, Fluent Bit uses [SUSE Base Container Images (BCI)](https://www.suse.com/products/base-container-images/) as the canonical base system.

The recommended secure deployment approach is to use the following instructions:

## Ensure you select the correct openSUSE verse SLES Package

Check warning on line 22 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'Ensure you select the correct openSUSE verse SLES Package' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'Ensure you select the correct openSUSE verse SLES Package' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 22, "column": 4}}}, "severity": "INFO"}

The openSUSE package is built and tested specifically for openSUSE Leap environments, ensuring compatibility with openSUSE libraries, update cycles, and system dependencies. Using the openSUSE package on openSUSE Leap systems helps avoid potential issues with mismatched dependencies or unsupported features that may arise from using SLES packages.

Check failure on line 24 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility. Raw Output: {"message": "[FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 24, "column": 314}}}, "severity": "ERROR"}

The SLES package is tailored for SUSE Linux Enterprise Server and is built against the SUSE Base Container Image, which may include different versions of libraries. It uses enterprise repositories with specific package versions, while Leap uses free, community driven repositories that have a broader range of packages. Installing the SLES package on openSUSE Leap is not recommended, as it may lead to library incompatibilities.

Check failure on line 26 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility. Raw Output: {"message": "[FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 26, "column": 392}}}, "severity": "ERROR"}

Check warning on line 26 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Contractions] Feel free to use 'isn't' instead of 'is not'. Raw Output: {"message": "[FluentBit.Contractions] Feel free to use 'isn't' instead of 'is not'.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 26, "column": 366}}}, "severity": "INFO"}

Check failure on line 26 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility. Raw Output: {"message": "[FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 26, "column": 121}}}, "severity": "ERROR"}


**In summary:**
- Use the openSUSE package for openSUSE Leap systems.
- Use the SLES package for SUSE Linux Enterprise Server systems.

This ensures you receive the correct updates and compatibility for your chosen platform.


## openSUSE Leap

Check warning on line 36 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'openSUSE Leap' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'openSUSE Leap' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 36, "column": 4}}}, "severity": "INFO"}

Ensure your system repositories are up to date. For openSUSE Leap, use the following repository path:

- `https://packages.fluentbit.io/opensuse/leap/$releaserver`

### Configure Zypper for openSUSE Leap

Check warning on line 42 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Spelling] Spelling check: 'Zypper'? Raw Output: {"message": "[FluentBit.Spelling] Spelling check: 'Zypper'?", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 42, "column": 15}}}, "severity": "INFO"}

Check warning on line 42 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'Configure Zypper for openSUSE Leap' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'Configure Zypper for openSUSE Leap' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 42, "column": 5}}}, "severity": "INFO"}

1. In `/etc/zypp/repos.d/`, add a new file called `fluent-bit.repo`.
1. Add the following content to the file (replace `$releaserver` with your Leap version, e.g., `15.6`):

Check failure on line 45 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Latin] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[FluentBit.Latin] Use 'for example' instead of 'e.g.,'.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 45, "column": 90}}}, "severity": "ERROR"}

```text
[fluent-bit]
name=Fluent Bit
baseurl=https://packages.fluentbit.io/opensuse/leap/$releaserver/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
enabled=1
```

1. As a best practice, enable `gpgcheck` for security reasons. Fluent Bit signs its repository metadata and all Fluent Bit packages.

## SUSE Linux Enterprise Server (SLES)

Check warning on line 59 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'SUSE Linux Enterprise Server (SLES)' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'SUSE Linux Enterprise Server (SLES)' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 59, "column": 4}}}, "severity": "INFO"}

Ensure your system repositories are up to date. For SLES, use the following repository path:

- `https://packages.fluentbit.io/sles/$releasever`

### Configure Zypper for SLES

Check warning on line 65 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Spelling] Spelling check: 'Zypper'? Raw Output: {"message": "[FluentBit.Spelling] Spelling check: 'Zypper'?", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 65, "column": 15}}}, "severity": "INFO"}

Check warning on line 65 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Headings] 'Configure Zypper for SLES' should use sentence-style capitalization. Raw Output: {"message": "[FluentBit.Headings] 'Configure Zypper for SLES' should use sentence-style capitalization.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 65, "column": 5}}}, "severity": "INFO"}

1. In `/etc/zypp/repos.d/`, add a new file called `fluent-bit.repo`.
1. Add the following content to the file:

```text
[fluent-bit]
name=Fluent Bit
baseurl=https://packages.fluentbit.io/sles/$releasever/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
enabled=1
```

1. As a best practice, enable `gpgcheck` for security reasons. Fluent Bit signs its repository metadata and all Fluent Bit packages.

### Install Fluent Bit

1. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date.

1. After your repository is configured, run the following command to install it:

```shell
sudo zypper refresh
sudo zypper install fluent-bit
```

1. Instruct `Systemd` to enable the service:

```shell
sudo systemctl start fluent-bit
```

If you do a status check, you should see a similar output like this:

```shell
$ systemctl status fluent-bit

● fluent-bit.service - Fluent Bit
Loaded: loaded (/usr/lib/systemd/system/fluent-bit.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2016-07-07 02:08:01 BST; 9s ago
Main PID: 3820 (fluent-bit)
CGroup: /system.slice/fluent-bit.service
└─3820 /opt/fluent-bit/bin/fluent-bit -c etc/fluent-bit/fluent-bit.conf
...
```

The default Fluent Bit configuration collects metrics of CPU usage and sends the records to the standard output. You can see the outgoing data in your `/var/log/messages` file.

## FAQ

### Zypper install fails with a `404 - Page not found` error for the package mirror

Ensure you use the correct `$releaserver` (e.g., `15.6`) in your repo path:

Check failure on line 119 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.Latin] Use 'for example' instead of 'e.g.,'. Raw Output: {"message": "[FluentBit.Latin] Use 'for example' instead of 'e.g.,'.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 119, "column": 44}}}, "severity": "ERROR"}

For openSUSE Leap:

```text
baseurl=https://packages.fluentbit.io/opensuse/leap/15.6/
```

For SLES

```text
baseurl=https://packages.fluentbit.io/sles/15.7/
```

zypper knows about special variables like $releasever. It has its own internal logic to replace these with the correct values from your system's baseproduct file.

### Zypper install fails with incompatible dependencies

OpenSUSE may track more recent dependencies than SLES. If you encounter dependency issues, ensure you are using the correct repository path for your OS distro.

Check failure on line 137 in installation/downloads/linux/suse.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility. Raw Output: {"message": "[FluentBit.MayMightCan] Use 'can' for permissions or 'might' for possibility.", "location": {"path": "installation/downloads/linux/suse.md", "range": {"start": {"line": 137, "column": 10}}}, "severity": "ERROR"}
2 changes: 2 additions & 0 deletions installation/getting-started-with-fluent-bit.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ To select a package for a container or operating system, use the instructions fo
| Alma Linux / Red Hat | [Alma Linux 8](downloads/linux/alma-rocky.md), [Alma Linux 9](downloads/linux/alma-rocky.md), [Alma Linux 10](downloads/linux/alma-rocky.md) |
| CentOS / Red Hat | [CentOS 7](downloads/linux/redhat-centos.md#install-on-redhat-centos), [CentOS 8](downloads/linux/redhat-centos.md#install-on-redhat-centos), [CentOS 9 Stream](downloads/linux/redhat-centos.md#install-on-redhat-centos), [CentOS 10 Stream](downloads/linux/redhat-centos.md#install-on-redhat-centos) |
| Rocky Linux / Red Hat | [Rocky Linux 8](downloads/linux/alma-rocky.md), [Rocky Linux 9](downloads/linux/alma-rocky.md), [Rocky Linux 10](downloads/linux/alma-rocky.md) |
| openSUSE Leap | [openSUSE Leap 15.6](downloads/linux/suse.md) |
| SUSE Linux Enterprise | [SUSE Linux Enterprise Server 15.7](downloads/linux/suse.md) |
| Ubuntu | [Ubuntu 16.04 LTS](downloads/linux/ubuntu.md), [Ubuntu 18.04 LTS](downloads/linux/ubuntu.md), [Ubuntu 20.04 LTS](downloads/linux/ubuntu.md), [Ubuntu 22.04 LTS](downloads/linux/ubuntu.md), [Ubuntu 24.04 LTS](downloads/linux/ubuntu.md) |
| Debian | [Debian 10](downloads/linux/debian.md), [Debian 11](downloads/linux/debian.md), [Debian 12](downloads/linux/debian.md), [Debian 13](downloads/linux/debian.md) |
| Amazon Linux | [Amazon Linux 2](downloads/linux/amazon-linux.md#install-on-amazon-linux-2), [Amazon Linux 2023](downloads/linux/amazon-linux.md#amazon-linux-2023) |
Expand Down
Loading