Skip to content

Commit 2c899ae

Browse files
edsipergitbook-bot
authored andcommitted
GitBook: [1.4] 118 pages modified
1 parent 103d4fe commit 2c899ae

24 files changed

+115
-76
lines changed

pipeline/filters/lua.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ Due to the necessity to have a flexible filtering mechanism, now is possible to
77
* Configure the Filter in the main configuration
88
* Prepare a Lua script that will be used by the Filter
99

10-
Content:
11-
12-
* [Configuration Parameters](lua.md#config)
13-
* [Getting Started](lua.md#getting_started)
14-
* [Lua Script Filter API](lua.md#lua_api)
15-
1610
## Configuration Parameters <a id="config"></a>
1711

1812
The plugin supports the following configuration parameters:

pipeline/filters/parser.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ The output is
5555

5656
```text
5757
$ fluent-bit -c dummy.conf
58-
Fluent-Bit v0.12.0
59-
Copyright (C) Treasure Data
58+
Fluent Bit v1.x.x
59+
* Copyright (C) 2019-2020 The Fluent Bit Authors
60+
* Copyright (C) 2015-2018 Treasure Data
61+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
62+
* https://fluentbit.io
6063
6164
[2017/07/06 22:33:12] [ info] [engine] started
6265
[0] dummy.data: [1499347993.001371317, {"INT"=>"100", "FLOAT"=>"0.5", "BOOL"=>"true", "STRING"=>"This is example"}]

pipeline/filters/rewrite-tag.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ The original tag `test_tag` will be rewritten as `from.test_tag.new.fluent.bit.o
140140

141141
```bash
142142
$ bin/fluent-bit -c example.conf
143-
Fluent Bit v1.4.0
144-
Copyright (C) Treasure Data
143+
Fluent Bit v1.x.x
144+
* Copyright (C) 2019-2020 The Fluent Bit Authors
145+
* Copyright (C) 2015-2018 Treasure Data
146+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
147+
* https://fluentbit.io
145148

146149
...
147150
[0] from.test_tag.new.fluent.bit.out: [1580436933.000050569, {"tool"=>"fluent", "sub"=>{"s1"=>{"s2"=>"bit"}}}]

pipeline/filters/standard-output.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ We have specified to gather [CPU](https://github.com/fluent/fluent-bit-docs/tree
2020

2121
```bash
2222
$ bin/fluent-bit -i cpu -o stdout -p format=msgpack -v
23-
Fluent-Bit v1.2.x
24-
Copyright (C) Treasure Data
23+
Fluent Bit v1.x.x
24+
* Copyright (C) 2019-2020 The Fluent Bit Authors
25+
* Copyright (C) 2015-2018 Treasure Data
26+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
27+
* https://fluentbit.io
2528

2629
[2016/10/07 21:52:01] [ info] [engine] started
2730
[0] cpu.0: [1475898721, {"cpu_p"=>0.500000, "user_p"=>0.250000, "system_p"=>0.250000, "cpu0.p_cpu"=>0.000000, "cpu0.p_user"=>0.000000, "cpu0.p_system"=>0.000000, "cpu1.p_cpu"=>0.000000, "cpu1.p_user"=>0.000000, "cpu1.p_system"=>0.000000, "cpu2.p_cpu"=>0.000000, "cpu2.p_user"=>0.000000, "cpu2.p_system"=>0.000000, "cpu3.p_cpu"=>1.000000, "cpu3.p_user"=>0.000000, "cpu3.p_system"=>1.000000}]

pipeline/inputs/collectd.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Collectd
22

3-
The **collectd** input plugin allows you to receive datagrams from collectd.
4-
5-
Content:
6-
7-
* [Configuration Parameters](collectd.md#config)
8-
* [Configuration Examples](collectd.md#config_example)
3+
The **collectd** input plugin allows you to receive datagrams from collectd service.
94

105
## Configuration Parameters <a id="config"></a>
116

@@ -33,7 +28,7 @@ Here is a basic configuration example.
3328
Match *
3429
```
3530

36-
With this configuration, fluent-bit listens to `0.0.0.0:25826`, and outputs incoming datagram packets to stdout.
31+
With this configuration, Fluent Bit listens to `0.0.0.0:25826`, and outputs incoming datagram packets to stdout.
3732

38-
You must set the same types.db files that your collectd server uses. Otherwise, fluent-bit may not be able to interpret the payload properly.
33+
You must set the same types.db files that your collectd server uses. Otherwise, Fluent Bit may not be able to interpret the payload properly.
3934

pipeline/inputs/cpu-metrics.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ In order to get the statistics of the CPU usage of your system, you can run the
3636

3737
```bash
3838
$ build/bin/fluent-bit -i cpu -t my_cpu -o stdout -m '*'
39-
Fluent-Bit v1.x.x
40-
Copyright (C) Treasure Data
39+
Fluent Bit v1.x.x
40+
* Copyright (C) 2019-2020 The Fluent Bit Authors
41+
* Copyright (C) 2015-2018 Treasure Data
42+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
43+
* https://fluentbit.io
4144

4245
[2019/09/02 10:46:29] [ info] starting engine
4346
[0] [1452185189, {"cpu_p"=>7.00, "user_p"=>5.00, "system_p"=>2.00, "cpu0.p_cpu"=>10.00, "cpu0.p_user"=>8.00, "cpu0.p_system"=>2.00, "cpu1.p_cpu"=>6.00, "cpu1.p_user"=>4.00, "cpu1.p_system"=>2.00}]

pipeline/inputs/disk-io-metrics.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ In order to get disk usage from your system, you can run the plugin from the com
2020

2121
```bash
2222
$ fluent-bit -i disk -o stdout
23-
Fluent-Bit v0.11.0
24-
Copyright (C) Treasure Data
23+
Fluent Bit v1.x.x
24+
* Copyright (C) 2019-2020 The Fluent Bit Authors
25+
* Copyright (C) 2015-2018 Treasure Data
26+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
27+
* https://fluentbit.io
2528

2629
[2017/01/28 16:58:16] [ info] [engine] started
2730
[0] disk.0: [1485590297, {"read_size"=>0, "write_size"=>0}]

pipeline/inputs/dummy.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ You can run the plugin from the command line or through the configuration file:
1919

2020
```bash
2121
$ fluent-bit -i dummy -o stdout
22-
Fluent-Bit v0.12.0
23-
Copyright (C) Treasure Data
22+
Fluent Bit v1.x.x
23+
* Copyright (C) 2019-2020 The Fluent Bit Authors
24+
* Copyright (C) 2015-2018 Treasure Data
25+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
26+
* https://fluentbit.io
2427

2528
[2017/07/06 21:55:29] [ info] [engine] started
2629
[0] dummy.0: [1499345730.015265366, {"message"=>"dummy"}]

pipeline/inputs/exec.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ The following example will read events from the output of _ls_.
2424

2525
```bash
2626
$ fluent-bit -i exec -p 'command=ls /var/log' -o stdout
27-
Fluent-Bit v0.13.0
28-
Copyright (C) Treasure Data
27+
Fluent Bit v1.x.x
28+
* Copyright (C) 2019-2020 The Fluent Bit Authors
29+
* Copyright (C) 2015-2018 Treasure Data
30+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
31+
* https://fluentbit.io
2932

3033
[2018/03/21 17:46:49] [ info] [engine] started
3134
[0] exec.0: [1521622010.013470159, {"exec"=>"ConsoleKit"}]

pipeline/inputs/head.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ This mode is useful to get a specific line. This is an example to get CPU freque
2626
```text
2727
processor : 0
2828
vendor_id : GenuineIntel
29-
cpu family : 6
29+
cpu family : 6
3030
model : 42
31-
model name : Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
32-
stepping : 7
31+
model name : Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz
32+
stepping : 7
3333
microcode : 41
34-
cpu MHz : 2791.009
35-
cache size : 4096 KB
36-
physical id : 0
37-
siblings : 1
34+
cpu MHz : 2791.009
35+
cache size : 4096 KB
36+
physical id : 0
37+
siblings : 1
3838
```
3939

4040
Cpu frequency is "cpu MHz : 2791.009". We can get the line with this configuration file.
@@ -62,8 +62,11 @@ Output is
6262

6363
```bash
6464
$ bin/fluent-bit -c head.conf
65-
Fluent-Bit v0.12.0
66-
Copyright (C) Treasure Data
65+
Fluent Bit v1.x.x
66+
* Copyright (C) 2019-2020 The Fluent Bit Authors
67+
* Copyright (C) 2015-2018 Treasure Data
68+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
69+
* https://fluentbit.io
6770

6871
[2017/06/26 22:38:24] [ info] [engine] started
6972
[0] head.cpu: [1498484305.000279805, {"line7"=>"cpu MHz : 2791.009"}]
@@ -82,8 +85,11 @@ The following example will read events from the /proc/uptime file, tag the recor
8285

8386
```bash
8487
$ fluent-bit -i head -t uptime -p File=/proc/uptime -o stdout -m '*'
85-
Fluent-Bit v0.8.0
86-
Copyright (C) Treasure Data
88+
Fluent Bit v1.x.x
89+
* Copyright (C) 2019-2020 The Fluent Bit Authors
90+
* Copyright (C) 2015-2018 Treasure Data
91+
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
92+
* https://fluentbit.io
8793

8894
[2016/05/17 21:53:54] [ info] starting engine
8995
[0] uptime: [1463543634, {"head"=>"133517.70 194870.97"}]

0 commit comments

Comments
 (0)