Skip to content

Commit 66c60c5

Browse files
Apply suggestions from code review
Co-authored-by: Craig Norris <[email protected]> Signed-off-by: Alexa Kreizinger <[email protected]>
1 parent 2bc8b08 commit 66c60c5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stream-processing/getting-started/hands-on.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Fluent Bit v1.8.2
2828
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:
2929

3030
```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 \
3232
fluent/fluent-bit:1.8.2 \
3333
/fluent-bit/bin/fluent-bit -R /fluent-bit/etc/parsers.conf \
3434
-i tail -p path=/sp-samples-1k.log \
@@ -64,7 +64,7 @@ Fluent Bit v1.8.2
6464
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.
6565

6666
```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 \
6868
fluent/fluent-bit:1.2 \
6969
/fluent-bit/bin/fluent-bit \
7070
-R /fluent-bit/etc/parsers.conf \
@@ -91,7 +91,7 @@ The previous query aims to retrieve all records for which the `country` key cont
9191
Run the following command to use the `AVG` aggregation function to get the average value of ingested records:
9292

9393
```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 \
9595
fluent/fluent-bit:1.8.2 \
9696
/fluent-bit/bin/fluent-bit \
9797
-R /fluent-bit/etc/parsers.conf \
@@ -122,7 +122,7 @@ The resulting output contains multiple records because Fluent Bit processes data
122122
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:
123123

124124
```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 \
126126
fluent/fluent-bit:1.8.2 \
127127
/fluent-bit/bin/fluent-bit \
128128
-R /fluent-bit/etc/parsers.conf \
@@ -150,7 +150,7 @@ Next, instruct the stream processor to ingest results as part of the Fluent Bit
150150
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:
151151

152152
```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 \
154154
fluent/fluent-bit:1.8.2 \
155155
/fluent-bit/bin/fluent-bit \
156156
-R /fluent-bit/etc/parsers.conf \

0 commit comments

Comments
 (0)