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: stream-processing/getting-started/hands-on.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Fluent Bit v1.8.2
28
28
The sample file contains JSON records. Run the following command to append the `parsers.conf` file and instruct the Tail input plugin to parse content as JSON:
29
29
30
30
```bash
31
-
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
31
+
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
Run the following command to create a stream processor query using the `-T` flag and change the output to the Null plugin. This obtains the stream processing results in the standard output interface and avoids confusion in the terminal.
65
65
66
66
```bash
67
-
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
67
+
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
68
68
fluent/fluent-bit:1.2 \
69
69
/fluent-bit/bin/fluent-bit \
70
70
-R /fluent-bit/etc/parsers.conf \
@@ -91,7 +91,7 @@ The previous query aims to retrieve all records for which the `country` key cont
91
91
Run the following command to use the `AVG` aggregation function to get the average value of ingested records:
92
92
93
93
```bash
94
-
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
94
+
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
95
95
fluent/fluent-bit:1.8.2 \
96
96
/fluent-bit/bin/fluent-bit \
97
97
-R /fluent-bit/etc/parsers.conf \
@@ -122,7 +122,7 @@ The resulting output contains multiple records because Fluent Bit processes data
122
122
Grouping results within a time window simplifies data processing. Run the following command to group results by `country` and calculate the average of `num` with a one-second processing window:
123
123
124
124
```bash
125
-
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
125
+
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
126
126
fluent/fluent-bit:1.8.2 \
127
127
/fluent-bit/bin/fluent-bit \
128
128
-R /fluent-bit/etc/parsers.conf \
@@ -150,7 +150,7 @@ Next, instruct the stream processor to ingest results as part of the Fluent Bit
150
150
Run the following command, which uses a `CREATE STREAM` statement to tag results with the `sp-results` tag, then outputs records with that tag to standard output:
151
151
152
152
```bash
153
-
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
153
+
docker run -ti -v `pwd`/sp-samples-1k.log:/sp-samples-1k.log \
0 commit comments