|
2 | 2 |
|
3 | 3 | Fluent Bit is distributed as the `fluent-bit` package and is available for long-term support releases of Ubuntu. The latest officially supported version is Noble Numbat (24.04).
|
4 | 4 |
|
5 |
| -## Single line install |
6 |
| - |
7 |
| -An installation script is provided for most Linux targets. This will always install the most recent version released. |
8 |
| - |
9 |
| -```shell |
10 |
| -curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh |
11 |
| -``` |
12 |
| - |
13 |
| -This is purely a convenience helper and should always be validated prior to use. The recommended secure deployment approach is to use the following instructions. |
| 5 | +The recommended secure deployment approach is to use the following instructions. |
14 | 6 |
|
15 | 7 | ## Server GPG key
|
16 | 8 |
|
17 |
| -The first step is to add the Fluent Bit server GPG key to your keyring to ensure you can get the correct signed packages. |
| 9 | +Add the Fluent Bit server GPG key to your keyring to ensure you can get the correct signed packages. |
18 | 10 |
|
19 | 11 | Follow the official [Debian wiki guidance](https://wiki.debian.org/DebianRepository/UseThirdParty#OpenPGP_Key_distribution).
|
20 | 12 |
|
21 | 13 | ```shell
|
22 | 14 | sudo sh -c 'curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg'
|
23 | 15 | ```
|
24 | 16 |
|
25 |
| -### Updated key from March 2022 |
26 |
| - |
27 |
| -For releases 1.9.0 and 1.8.15 and later, the [GPG key has been updated](https://packages.fluentbit.io/fluentbit.key). Ensure the new key is added. |
28 |
| - |
29 |
| -The GPG Key fingerprint of the new key is: |
30 |
| - |
31 |
| -```text |
32 |
| -C3C0 A285 34B9 293E AF51 FABD 9F9D DC08 3888 C1CD |
33 |
| -Fluentbit releases (Releases signing key) <[email protected]> |
34 |
| -``` |
35 |
| - |
36 |
| -The previous key is [still available](https://packages.fluentbit.io/fluentbit-legacy.key) and might be required to install previous versions. |
37 |
| - |
38 |
| -The GPG Key fingerprint of the old key is: |
39 |
| - |
40 |
| -```text |
41 |
| -F209 D876 2A60 CD49 E680 633B 4FF8 368B 6EA0 722A |
42 |
| -``` |
43 |
| - |
44 |
| -Refer to the [supported platform documentation](../supported-platforms.md) to see which platforms are supported in each release. |
45 |
| - |
46 | 17 | ## Update your sources lists
|
47 | 18 |
|
48 | 19 | On Ubuntu, you need to add the Fluent Bit APT server entry to your sources lists.
|
@@ -80,6 +51,8 @@ If you receive the error `Certificate verification failed`, check if the package
|
80 | 51 |
|
81 | 52 | ## Install Fluent Bit
|
82 | 53 |
|
| 54 | +1. Ensure your [GPG key](../linux.md#gpg-key-updates) is up to date. |
| 55 | + |
83 | 56 | 1. Use the following `apt-get` command to install the latest Fluent Bit:
|
84 | 57 |
|
85 | 58 | ```shell
|
@@ -109,4 +82,6 @@ $ systemctl status fluent-bit
|
109 | 82 | ...
|
110 | 83 | ```
|
111 | 84 |
|
112 |
| -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. |
| 85 | +The default configuration of `fluent-bit` is collecting metrics of CPU usage and |
| 86 | +sending the records to the standard output. You can see the outgoing data in your |
| 87 | +`/var/log/syslog` file. |
0 commit comments