Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
14 changes: 14 additions & 0 deletions installation/linux/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# Linux Packages

A simple installation script is provided to be used for most Linux targets.
This will always install the most recent version released.

```bash
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/update_version.sh | sh
```

If this fails or for more details on the installation then please refer to the specific section for your OS.

## Migration to Fluent Bit

From version 1.9, `td-agent-bit` is a deprecated package and will be removed in the future.
The correct package name to use now is `fluent-bit`.
Both are currently provided to allow migration.
28 changes: 14 additions & 14 deletions installation/linux/amazon-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

## Install on Amazon Linux 2

Fluent Bit is distributed as **td-agent-bit** package and is available for the latest Amazon Linux 2. The following architectures are supported
Fluent Bit is distributed as **fluent-bit** package and is available for the latest Amazon Linux 2. The following architectures are supported

* x86\_64
* aarch64 / arm64v8

## Configure Yum

We provide **td-agent-bit** through a Yum repository. In order to add the repository reference to your system, please add a new file called _td-agent-bit.repo_ in _/etc/yum.repos.d/_ with the following content:
We provide **fluent-bit** through a Yum repository. In order to add the repository reference to your system, please add a new file called _fluent-bit.repo_ in _/etc/yum.repos.d/_ with the following content:

```text
[td-agent-bit]
name = TD Agent Bit
[fluent-bit]
name = Fluent Bit
baseurl = https://packages.fluentbit.io/amazonlinux/2/$basearch/
gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
Expand All @@ -29,28 +29,28 @@ The GPG Key fingerprint is `F209 D876 2A60 CD49 E680 633B 4FF8 368B 6EA0 722A`
Once your repository is configured, run the following command to install it:

```bash
$ yum install td-agent-bit
$ yum install fluent-bit
```

Now the following step is to instruct _systemd_ to enable the service:

```bash
$ sudo service td-agent-bit start
$ sudo service fluent-bit start
```

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

```bash
$ service td-agent-bit status
Redirecting to /bin/systemctl status td-agent-bit.service
td-agent-bit.service - TD Agent Bit
Loaded: loaded (/usr/lib/systemd/system/td-agent-bit.service; disabled; vendor preset: disabled)
$ service fluent-bit status
Redirecting to /bin/systemctl status fluent-bit.service
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 (td-agent-bit)
CGroup: /system.slice/td-agent-bit.service
└─3820 /opt/td-agent-bit/bin/td-agent-bit -c etc/td-agent-bit/td-agent-bit.conf
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 configuration of **td-agent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/messages_ file.
The default configuration of **fluent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/messages_ file.

49 changes: 20 additions & 29 deletions installation/linux/debian.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
# Debian

Fluent Bit is distributed as **td-agent-bit** package and is available for the latest \(and old\) stable Debian systems: Buster, Stretch and Jessie.
Fluent Bit is distributed as **fluent-bit** package and is available for the latest \(and old\) stable Debian systems: Buster, Stretch and Jessie.

## Server GPG key

The first step is to add our server GPG key to your keyring, on that way you can get our signed packages:
The first step is to add our server GPG key to your keyring, on that way you can get our signed packages.
Follow the official Debian wiki guidance: https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution

```text
curl https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -
```bash
curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg
```

## Update your sources lists

On Debian, you need to add our APT server entry to your sources lists, please add the following content at bottom of your **/etc/apt/sources.list** file:
On Debian, you need to add our APT server entry to your sources lists, please add the following content at bottom of your **/etc/apt/sources.list** file - ensure to set `CODENAME` to your specific [Ubuntu release name](https://wiki.ubuntu.com/Releases) (e.g. `focal` for Ubuntu 20.04):

#### Debian 10 \(Buster\)

```text
deb https://packages.fluentbit.io/debian/buster buster main
```

#### Debian 9 \(Stretch\)

```text
deb https://packages.fluentbit.io/debian/stretch stretch main
```bash
deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/${CODENAME} ${CODENAME} main
```

### Update your repositories database
## Update your repositories database

Now let your system update the _apt_ database:

Expand All @@ -38,36 +30,35 @@ $ sudo apt-get update
We recommend upgrading your system (```sudo apt-get upgrade```). This could avoid potential issues with expired certificates.
{% endhint %}

## Install Fluent Bit

## Install TD Agent Bit

Using the following _apt-get_ command you are able now to install the latest _td-agent-bit_:
Using the following _apt-get_ command you are able now to install the latest _fluent-bit_:

```text
$ sudo apt-get install td-agent-bit
$ sudo apt-get install fluent-bit
```

Now the following step is to instruct _systemd_ to enable the service:

```bash
$ sudo service td-agent-bit start
$ sudo service fluent-bit start
```

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

```bash
sudo service td-agent-bit status
td-agent-bit.service - TD Agent Bit
Loaded: loaded (/lib/systemd/system/td-agent-bit.service; disabled; vendor preset: enabled)
sudo service fluent-bit status
fluent-bit.service - Fluent Bit
Loaded: loaded (/lib/systemd/system/fluent-bit.service; disabled; vendor preset: enabled)
Active: active (running) since mié 2016-07-06 16:58:25 CST; 2h 45min ago
Main PID: 6739 (td-agent-bit)
Main PID: 6739 (fluent-bit)
Tasks: 1
Memory: 656.0K
CPU: 1.393s
CGroup: /system.slice/td-agent-bit.service
└─6739 /opt/td-agent-bit/bin/td-agent-bit -c /etc/td-agent-bit/td-agent-bit.conf
CGroup: /system.slice/fluent-bit.service
└─6739 /opt/fluent-bit/bin/fluent-bit -c /etc/fluent-bit/fluent-bit.conf
...
```

The default configuration of **td-agent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/syslog_ file.
The default configuration of **fluent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/syslog_ file.

35 changes: 20 additions & 15 deletions installation/linux/raspbian-raspberry-pi.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Raspbian / Raspberry Pi

Fluent Bit is distributed as **td-agent-bit** package and is available for the Raspberry, specifically for [Raspbian](http://raspbian.org) distribution, the following versions are supported:
Fluent Bit is distributed as **fluent-bit** package and is available for the Raspberry, specifically for [Raspbian](http://raspbian.org) distribution, the following versions are supported:

* Raspbian Bullseye \(11\)
* Raspbian Buster \(10\)
* Raspbian Stretch \(9\)
* Raspbian Jessie \(8\)

## Server GPG key

Expand All @@ -16,7 +15,13 @@ curl https://packages.fluentbit.io/fluentbit.key | sudo apt-key add -

## Update your sources lists

On Debian and derivative systems such as Raspbian, you need to add our APT server entry to your sources lists, please add the following content at bottom of your **/etc/apt/sources.list** file:
On Debian and derivative systems such as Raspbian, you need to add our APT server entry to your sources lists, please add the following content at bottom of your **/etc/apt/sources.list** file.

#### Raspbian 11 \(Bullseye\)

```text
deb https://packages.fluentbit.io/raspbian/bullseye bullseye main
```

#### Raspbian 10 \(Buster\)

Expand All @@ -37,35 +42,35 @@ We recommend upgrading your system (```sudo apt-get upgrade```). This could avoi
{% endhint %}


## Install TD-Agent Bit
## Install Fluent Bit

Using the following _apt-get_ command you are able now to install the latest _td-agent-bit_:
Using the following _apt-get_ command you are able now to install the latest _fluent-bit_:

```text
$ sudo apt-get install td-agent-bit
$ sudo apt-get install fluent-bit
```

Now the following step is to instruct _systemd_ to enable the service:

```bash
$ sudo service td-agent-bit start
$ sudo service fluent-bit start
```

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

```bash
sudo service td-agent-bit status
td-agent-bit.service - TD Agent Bit
Loaded: loaded (/lib/systemd/system/td-agent-bit.service; disabled; vendor preset: enabled)
sudo service fluent-bit status
fluent-bit.service - Fluent Bit
Loaded: loaded (/lib/systemd/system/fluent-bit.service; disabled; vendor preset: enabled)
Active: active (running) since mié 2016-07-06 16:58:25 CST; 2h 45min ago
Main PID: 6739 (td-agent-bit)
Main PID: 6739 (fluent-bit)
Tasks: 1
Memory: 656.0K
CPU: 1.393s
CGroup: /system.slice/td-agent-bit.service
└─6739 /opt/td-agent-bit/bin/td-agent-bit -c /etc/td-agent-bit/td-agent-bit.conf
CGroup: /system.slice/fluent-bit.service
└─6739 /opt/fluent-bit/bin/fluent-bit -c /etc/fluent-bit/fluent-bit.conf
...
```

The default configuration of **td-agent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/syslog_ file.
The default configuration of **fluent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/syslog_ file.

33 changes: 16 additions & 17 deletions installation/linux/redhat-centos.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,54 @@

## Install on Redhat / CentOS

Fluent Bit is distributed as **td-agent-bit** package and is available for the latest stable CentOS system. The following architectures are supported
Fluent Bit is distributed as **fluent-bit** package and is available for the latest stable CentOS system. The following architectures are supported

* x86\_64
* aarch64 / arm64v8

## Configure Yum

We provide **td-agent-bit** through a Yum repository. In order to add the repository reference to your system, please add a new file called _td-agent-bit.repo_ in _/etc/yum.repos.d/_ with the following content:
We provide **fluent-bit** through a Yum repository. In order to add the repository reference to your system, please add a new file called _fluent-bit.repo_ in _/etc/yum.repos.d/_ with the following content:

```text
[td-agent-bit]
name = TD Agent Bit
[fluent-bit]
name = Fluent Bit
baseurl = https://packages.fluentbit.io/centos/7/$basearch/
gpgcheck=1
gpgkey=https://packages.fluentbit.io/fluentbit.key
enabled=1
```

note: we encourage you always enable the _gpgcheck_ for security reasons. All our packages are signed.

The GPG Key fingerprint is `F209 D876 2A60 CD49 E680 633B 4FF8 368B 6EA0 722A`
It is best practice to always enable the _gpgcheck_ for security reasons.
All our packages are signed.

### Install

Once your repository is configured, run the following command to install it:

```bash
$ yum install td-agent-bit
$ yum install fluent-bit
```

Now the following step is to instruct _Systemd_ to enable the service:

```bash
$ sudo service td-agent-bit start
$ sudo service fluent-bit start
```

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

```bash
$ service td-agent-bit status
Redirecting to /bin/systemctl status td-agent-bit.service
td-agent-bit.service - TD Agent Bit
Loaded: loaded (/usr/lib/systemd/system/td-agent-bit.service; disabled; vendor preset: disabled)
$ service fluent-bit status
Redirecting to /bin/systemctl status fluent-bit.service
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 (td-agent-bit)
CGroup: /system.slice/td-agent-bit.service
└─3820 /opt/td-agent-bit/bin/td-agent-bit -c etc/td-agent-bit/td-agent-bit.conf
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 configuration of **td-agent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/messages_ file.
The default configuration of **fluent-bit** is collecting metrics of CPU usage and sending the records to the standard output, you can see the outgoing data in your _/var/log/messages_ file.

4 changes: 0 additions & 4 deletions installation/linux/snap.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@

If you use any Linux distribution [supported by](https://snapcraft.io/docs/installing-snapd) Snapcraft, you can get Fluent Bit as a Snap in your system.



[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-white.svg)](https://snapcraft.io/fluent-bit)



## Getting Started

Install Fluent Bit Snap in your system
Expand Down
Loading