You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _AWS Filter_ Enriches logs with AWS Metadata. Currently the plugin adds the EC2 instance ID and availability zone to log records. To use this plugin, you must be running in EC2 and have the [instance metadata service enabled](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html).
4
+
5
+
## Configuration Parameters
6
+
7
+
The plugin supports the following configuration parameters:
8
+
9
+
| Key | Value Format | Description |
10
+
| :--- | :--- | :--- |
11
+
| imds_version | VERSION | Specify which version of the instance metadata service to use. Valid values are 'v1' or 'v2'; 'v2' is the default. |
12
+
13
+
Note: *If you run Fluent Bit in a container, you may have to use instance metadata v1.* The plugin behaves the same regardless of which version is used.
14
+
15
+
## Usage
16
+
17
+
### Command Line
18
+
19
+
```
20
+
$ bin/fluent-bit -i dummy -F aws -m '*' -o stdout
21
+
22
+
[2020/01/17 07:57:17] [ info] [engine] started (pid=32744)
Copy file name to clipboardExpand all lines: input/syslog.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ The plugin supports the following configuration parameters:
14
14
| Path | If _Mode_ is set to _unix\_tcp_ or _unix\_udp_, set the absolute path to the Unix socket file. ||
15
15
| Unix_Perm | If _Mode_ is set to _unix\_tcp_ or _unix\_udp_, set the permission of the Unix socket file. | 0644 |
16
16
| Parser | Specify an alternative parser for the message. By default, the plugin uses the parser _syslog-rfc3164_. If your syslog messages have fractional seconds set this Parser value to _syslog-rfc5424_ instead. ||
17
-
| Buffer\_Chunk\_Size | By default the buffer to store the incoming Syslog messages, do not allocate the maximum memory allowed, instead it allocate memory when is required. The rounds of allocations are set by _Buffer\_Chunk\_Size_ in KB. If not set, _Buffer\_Chunk\_Size_ is equal to 32\(32KB\). Read considerations below when using _udp_ or _unix\_udp_ mode. ||
18
-
| Buffer\_Max_Size | Specify the maximum buffer size in KB to receive a Syslog message. If not set, the default size will be the value of _Buffer\_Chunk\_Size_. ||
17
+
| Buffer\_Chunk\_Size | By default the buffer to store the incoming Syslog messages, do not allocate the maximum memory allowed, instead it allocate memory when is required. The rounds of allocations are set by _Buffer\_Chunk\_Size_. If not set, _Buffer\_Chunk\_Size_ is equal to 32000 bytes\(32KB\). Read considerations below when using _udp_ or _unix\_udp_ mode. ||
18
+
| Buffer\_Max_Size | Specify the maximum buffer size to receive a Syslog message. If not set, the default size will be the value of _Buffer\_Chunk\_Size_. ||
19
19
20
20
### Considerations
21
21
@@ -50,8 +50,8 @@ In your main configuration file append the following _Input_ & _Output_ sections
Copy file name to clipboardExpand all lines: input/tail.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The plugin supports the following configuration parameters:
32
32
| Mem\_Buf\_Limit | Set a limit of memory that Tail plugin can use when appending data to the Engine. If the limit is reach, it will be paused; when the data is flushed it resumes. ||
33
33
| Parser | Specify the name of a parser to interpret the entry as a structured message. ||
34
34
| Key | When a message is unstructured \(no parser applied\), it's appended as a string under the key name _log_. This option allows to define an alternative name for that key. | log |
35
-
| Tag | Set a tag (with regex-extract fields) that will be placed on lines read. E.g. `kube.<namespace_name>.<pod_name>.<container_name>`||
35
+
| Tag | Set a tag (with regex-extract fields) that will be placed on lines read. E.g. `kube.<namespace_name>.<pod_name>.<container_name>`. Note that "tag expansion" is supported: if the tag includes an asterisk (*), that asterisk will be replaced with the absolute path of the monitored file (also see [Workflow of Tail + Kubernetes Filter](../filter/kubernetes.md)).||
36
36
| Tag_Regex | Set a regex to exctract fields from the file. E.g. `(?<pod_name>[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?<namespace_name>[^_]+)_(?<container_name>.+)-`||
37
37
38
38
Note that if the database parameter _db_ is **not** specified, by default the plugin will start reading each target file from the beginning.
Copy file name to clipboardExpand all lines: installation/build_install.md
+16-9
Original file line number
Diff line number
Diff line change
@@ -65,33 +65,39 @@ it's likely you may need root privileges so you can try to prefixing the command
65
65
66
66
## Build Options
67
67
68
-
Fluent Bit provides certain options to CMake that can be enabled or disabled when configuring, please refer to the following tables under the _General Options_, _Input Plugins_ and _Output Plugins_ sections.
68
+
Fluent Bit provides certain options to CMake that can be enabled or disabled when configuring, please refer to the following tables under the _General Options_, _Development Options_, Input Plugins_ and _Output Plugins_ sections.
69
69
70
70
### General Options
71
71
72
72
| option | description | default |
73
73
| :--- | :--- | :--- |
74
74
| FLB\_ALL | Enable all features available | No |
75
-
| FLB\_DEBUG | Build binaries with debug symbols | No |
76
75
| FLB\_JEMALLOC | Use Jemalloc as default memory allocator | No |
77
-
| FLB\_TLS |Buils with SSL/TLS support | No |
76
+
| FLB\_TLS |Build with SSL/TLS support | No |
78
77
| FLB\_BINARY | Build executable | Yes |
79
78
| FLB\_EXAMPLES | Build examples | Yes |
80
79
| FLB\_SHARED\_LIB | Build shared library | Yes |
81
-
| FLB\_VALGRIND | Enable Valgrind support | No |
82
-
| FLB\_TRACE | Enable trace mode | No |
83
-
| FLB_TESTS_RUNTIME | Enable runtime tests | No |
84
-
| FLB_TESTS_INTERNAL | Enable internal tests | No |
85
-
| FLB\_TESTS | Enable tests | No |
86
80
| FLB\_MTRACE | Enable mtrace support | No |
87
81
| FLB_INOTIFY | Enable Inotify support | Yes |
88
82
| FLB\_POSIX\_TLS | Force POSIX thread storage | No |
89
83
| FLB_SQLDB | Enable SQL embedded database support | No |
90
84
| FLB_HTTP_SERVER | Enable HTTP Server | No |
91
-
| FLB_BACKTRACE | Enable backtrace/stacktrace support | Yes |
92
85
| FLB_LUAJIT | Enable Lua scripting support | Yes |
93
86
| FLB_STATIC_CONF | Build binary using static configuration files. The value of this option must be a directory containing configuration files. ||
94
87
88
+
### Development Options
89
+
90
+
| option | description | default |
91
+
| :--- | :--- | :--- |
92
+
| FLB\_DEBUG | Build binaries with debug symbols | No |
93
+
| FLB\_VALGRIND | Enable Valgrind support | No |
94
+
| FLB\_TRACE | Enable trace mode | No |
95
+
| FLB\_SMALL | Minimise binary size | No |
96
+
| FLB_TESTS_RUNTIME | Enable runtime tests | No |
97
+
| FLB_TESTS_INTERNAL | Enable internal tests | No |
98
+
| FLB\_TESTS | Enable tests | No |
99
+
| FLB_BACKTRACE | Enable backtrace/stacktrace support | Yes |
100
+
95
101
### Input Plugins
96
102
97
103
The _input plugins_ provides certain features to gather information from a specific source type which can be a network interface, some built-in metric or through a specific input device, the following input plugins are available:
@@ -108,6 +114,7 @@ The _input plugins_ provides certain features to gather information from a speci
108
114
|[FLB\_IN\_SERIAL](../input/serial.md)| Enable Serial input plugin | On |
109
115
|[FLB\_IN\_STDIN](../input/stdin.md)| Enable Standard input plugin | On |
110
116
| FLB\_IN\_TCP | Enable TCP input plugin | On |
117
+
|[FLB\_IN\_THERMAL](../input/thermal.md)| Enable system temperature(s) input plugin | On |
111
118
|[FLB\_IN\_MQTT](../input/mqtt.md)| Enable MQTT input plugin | On |
112
119
|[FLB\_IN\_XBEE](https://github.com/fluent/fluent-bit-docs/tree/ad9d80e5490bd5d79c86955c5689db1cb4cf89db/input/xbee.md)| Enable Xbee input plugin | Off |
Copy file name to clipboardExpand all lines: installation/upgrade_notes.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ If you are migrating from Fluent Bit v1.2 to v1.3, there are not breaking change
12
12
13
13
### Docker, JSON, Parsers and Decoders
14
14
15
-
On Fluent Bit v1.2 we have fixed many issues associated with JSON encoding and decoding, for hence when parsing Docker logs __is not longer necessary__ to use decoders. The new Docker parser looks like this:
15
+
On Fluent Bit v1.2 we have fixed many issues associated with JSON encoding and decoding, for hence when parsing Docker logs __is no longer necessary__ to use decoders. The new Docker parser looks like this:
16
16
17
17
```
18
18
[PARSER]
@@ -68,7 +68,7 @@ If you are upgrading from **Fluent Bit <= 1.0.x** you should take in considerati
68
68
69
69
We introduced a new configuration property called _Kube\_Tag\_Prefix_ to help Tag prefix resolution and address an unexpected behavior that landed in previous versions.
70
70
71
-
Duing 1.0.x release cycle, a commit in Tail input plugin changed the default behavior on how the Tag was composed when using the wildcard for expansion generating breaking compatibility with other services. Consider the following configuration example:
71
+
During 1.0.x release cycle, a commit in Tail input plugin changed the default behavior on how the Tag was composed when using the wildcard for expansion generating breaking compatibility with other services. Consider the following configuration example:
0 commit comments