Skip to content

Commit 69943d9

Browse files
committed
Fluent bit: docs: missed some trailing spaces
Signed-off-by: Lynette Miles <[email protected]>
1 parent bf54105 commit 69943d9

File tree

1 file changed

+35
-20
lines changed

1 file changed

+35
-20
lines changed

pipeline/outputs/s3.md

Lines changed: 35 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -409,15 +409,15 @@ through the configuration file.
409409

410410
### Command Line
411411

412-
The S3 plugin can read the parameters from the command line through the **-p** argument:
412+
The S3 plugin reads parameters from the command line through the `-p` argument:
413413

414414
```text
415-
$ fluent-bit -i cpu -o s3 -p bucket=my-bucket -p region=us-west-2 -p -m '*' -f 1
415+
fluent-bit -i cpu -o s3 -p bucket=my-bucket -p region=us-west-2 -p -m '*' -f 1
416416
```
417417

418418
### Configuration File
419419

420-
In your main configuration file append the following _Output_ section:
420+
In your main configuration file append the following `Output` section:
421421

422422
```python
423423
[OUTPUT]
@@ -430,7 +430,7 @@ In your main configuration file append the following _Output_ section:
430430
upload_timeout 10m
431431
```
432432

433-
An example that using `PutObject` instead of multipart:
433+
An example using `PutObject` instead of multipart:
434434

435435
```python
436436
[OUTPUT]
@@ -446,65 +446,76 @@ An example that using `PutObject` instead of multipart:
446446

447447
## AWS for Fluent Bit
448448

449-
Amazon distributes a container image with Fluent Bit and this plugins.
449+
Amazon distributes a container image with Fluent Bit and plugins.
450450

451451
### GitHub
452452

453453
[github.com/aws/aws-for-fluent-bit](https://github.com/aws/aws-for-fluent-bit)
454454

455455
### Amazon ECR Public Gallery
456456

457-
[aws-for-fluent-bit](https://gallery.ecr.aws/aws-observability/aws-for-fluent-bit)
457+
Our images are available in the Amazon ECR Public Gallery as
458+
[aws-for-fluent-bit](https://gallery.ecr.aws/aws-observability/aws-for-fluent-bit).
458459

459-
Our images are available in Amazon ECR Public Gallery. You can download images with different tags by following command:
460+
You can download images with different tags using the following command:
460461

461462
```text
462463
docker pull public.ecr.aws/aws-observability/aws-for-fluent-bit:<tag>
463464
```
464465

465-
For example, you can pull the image with latest version by:
466+
For example, you can pull the image with latest version with:
466467

467468
```text
468469
docker pull public.ecr.aws/aws-observability/aws-for-fluent-bit:latest
469470
```
470471

471-
If you see errors for image pull limits, try log into public ECR with your AWS credentials:
472+
If you see errors for image pull limits, try signing in to public ECR with your
473+
AWS credentials:
472474

473475
```text
474476
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
475477
```
476478

477-
You can check the [Amazon ECR Public official doc](https://docs.aws.amazon.com/AmazonECR/latest/public/get-set-up-for-amazon-ecr.html) for more details.
479+
See the
480+
[Amazon ECR Public official documentation](https://docs.aws.amazon.com/AmazonECR/latest/public/get-set-up-for-amazon-ecr.html)
481+
for more details.
478482

479483
### Docker Hub
480484

481485
[amazon/aws-for-fluent-bit](https://hub.docker.com/r/amazon/aws-for-fluent-bit/tags)
486+
is also available from the Docker Hub.
482487

483488
### Amazon ECR
484489

485-
You can use our SSM Public Parameters to find the Amazon ECR image URI in your region:
490+
Use our SSM Public Parameters to find the Amazon ECR image URI in your region:
486491

487492
```text
488493
aws ssm get-parameters-by-path --path /aws/service/aws-for-fluent-bit/
489494
```
490495

491-
For more see [the AWS for Fluent Bit github repo](https://github.com/aws/aws-for-fluent-bit#public-images).
496+
For more information, see the
497+
[AWS for Fluent Bit GitHub repo](https://github.com/aws/aws-for-fluent-bit#public-images).
492498

493499
## Advanced usage
494500

495501
### Use Apache Arrow for in-memory data processing
496502

497-
Starting from Fluent Bit v1.8, the Amazon S3 plugin includes the support for [Apache Arrow](https://arrow.apache.org/). The support is currently not enabled by default, as it depends on a shared version of `libarrow` as the prerequisite.
503+
With Fluent Bit v1.8 or greater, the Amazon S3 plugin includes the support for
504+
[Apache Arrow](https://arrow.apache.org/). Support isn't enabled by
505+
default, and has a dependency on a shared version of `libarrow`.
498506

499-
To use this feature, `FLB_ARROW` must be turned on at compile time:
507+
To use this feature, `FLB_ARROW` must be turned on at compile time. Use the following
508+
commands:
500509

501510
```text
502-
$ cd build/
503-
$ cmake -DFLB_ARROW=On ..
504-
$ cmake --build .
511+
cd build/
512+
cmake -DFLB_ARROW=On ..
513+
cmake --build .
505514
```
506515

507-
Once compiled, Fluent Bit can upload incoming data to S3 in Apache Arrow format. For example:
516+
Once compiled, Fluent Bit can upload incoming data to S3 in Apache Arrow format.
517+
518+
For example:
508519

509520
```python
510521
[INPUT]
@@ -519,9 +530,13 @@ Once compiled, Fluent Bit can upload incoming data to S3 in Apache Arrow format.
519530
Compression arrow
520531
```
521532

522-
As shown in this example, setting `Compression` to `arrow` makes Fluent Bit to convert payload into Apache Arrow format.
533+
Setting `Compression` to `arrow` makes Fluent Bit convert payload into Apache Arrow
534+
format.
535+
536+
Load, analyze, and process stored data using popular data
537+
processing tools such as Python pandas, Apache Spark and Tensorflow.
523538

524-
The stored data is very easy to load, analyze and process using popular data processing tools (such as Python pandas, Apache Spark and Tensorflow). The following code uses `pyarrow` to analyze the uploaded data:
539+
The following example uses `pyarrow` to analyze the uploaded data:
525540

526541
```text
527542
>>> import pyarrow.feather as feather

0 commit comments

Comments
 (0)