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
Copy file name to clipboardExpand all lines: pipeline/inputs/serial-interface.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,11 @@ This plugin has the following configuration parameters:
17
17
18
18
## Get started
19
19
20
-
To retrieve messages over the Serial interface, you can run the plugin from the command line or through the configuration file:
20
+
To retrieve messages by using the Serial interface, you can run the plugin from the command line or through the configuration file:
21
21
22
22
### Command line
23
23
24
-
The following example loads the input serial plugin where it set a `Bitrate` of `9600`, listens from the `/dev/tnt0` interface and uses the custom tag `data` to route the message.
24
+
The following example loads the input serial plugin where it set a `Bitrate` of `9600`, listens from the `/dev/tnt0` interface, and uses the custom tag `data` to route the message.
25
25
26
26
```shell
27
27
fluent-bit -i serial -t data -p File=/dev/tnt0 -p BitRate=9600 -o stdout -m '*'
@@ -102,26 +102,26 @@ You can emulate a serial interface on your Linux system and test the serial inpu
102
102
103
103
### Build and install the `tty0tty` module
104
104
105
-
1. Download the sources
105
+
1. Download the sources:
106
106
107
107
```bash
108
108
git clone https://github.com/freemed/tty0tty
109
109
```
110
110
111
-
1. Unpack and compile
111
+
1. Unpack and compile:
112
112
113
113
```bash
114
114
cd tty0tty/module
115
115
make
116
116
```
117
117
118
-
1. Copy the new kernel module into the kernel modules directory
118
+
1. Copy the new kernel module into the kernel modules directory:
0 commit comments