Skip to content

Commit 11bb08e

Browse files
committed
diagrams: put Routing in a circle
Signed-off-by: Eduardo Silva <[email protected]>
1 parent a22acbf commit 11bb08e

29 files changed

+16
-14
lines changed

.bookignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
*~
22
*.#
33
*.sh
4+
*.mmd
5+
#*
46

diagrams/logging_pipeline.png

4.62 KB
Loading

diagrams/logging_pipeline_buffer.png

4.47 KB
Loading

diagrams/logging_pipeline_filter.png

4.53 KB
Loading

diagrams/logging_pipeline_input.png

4.53 KB
Loading

diagrams/logging_pipeline_output.png

4.56 KB
Loading

diagrams/logging_pipeline_parser.png

4.55 KB
Loading

diagrams/logging_pipeline_routing.png

4.99 KB
Loading

diagrams/src/logging_pipeline.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_buffer.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_filter.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_input.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_output.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_parser.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

diagrams/src/logging_pipeline_routing.mmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ graph LR;
22
A(Input)-->B(Parser)
33
B-->C(Filter)
44
C-->D(Buffer)
5-
D-->E(Routing)
5+
D-->E((Routing))
66
E-->G1(Output 1)
77
E-->G2(Output 2)
88
E-->G3(Output N)

getting_started/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Fluent Bit](http://fluentbit.io) is a straightforward tool and to get started with it we need to understand it basic workflow. Consider the following diagram a global overview of it:
44

5-
![Fluent Bit Workflow](../imgs/flb_workflow.jpg)
5+
![Fluent Bit Workflow](../diagrams/logging_pipeline.png)
66

77
| Interface | Description |
88
|-----------|-------------|

getting_started/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
When the data or logs are ready to be routed to some destination, by default they are buffered in memory.
44

5-
![](../imgs/flb_workflow_buffer.jpg)
5+
![](../diagrams/logging_pipeline_buffer.png)
66

77
> Note that buffered data is not longer a raw text, instead it's in Fluent Bit internal binary representation.
88

getting_started/filter.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
In production environments we want to have full control of the data we are collecting, filtering is an important feature that allows to __alter__ the data before to deliver it to some destination.
44

5-
![](../imgs/flb_workflow_filter.jpg)
5+
![](../diagrams/logging_pipeline_filter.png)
66

77
Filtering is implemented through plugins, so each filter available could be used to match, exclude or enrich your logs with some specific metadata.
88

getting_started/input.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Fluent Bit](http://fluentbit.io) provides different _Input Plugins_ to gather information from different sources, some of them just collect data from log files while others can gather metrics information from the operating system. There are many plugins for different needs.
44

5-
![](../imgs/flb_workflow_input.jpg)
5+
![](../diagrams/logging_pipeline_input.png)
66

77
When an input plugin is loaded, an internal _instance_ is created. Every instance have it own and independent configuration. Configuration keys are often called __properties__.
88

getting_started/output.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The output interface allows to define destinations for the data. Common destinations are remote services, local file system or standard interface within others. Otputs are implemented as plugins and there are many available.
44

5-
![](../imgs/flb_workflow_output.jpg)
5+
![](../diagrams/logging_pipeline_output.png)
66

77
When an output plugin is loaded, an internal _instance_ is created. Every instance have it own and independent configuration. Configuration keys are often called __properties__.
88

getting_started/parser.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Dealing with raw strings is a constant pain; having a structure is highly desired. Ideally we want to set a structure to the incoming data by the Input Plugins as soon as they are collected:
44

5-
![](../imgs/flb_workflow_parser.jpg)
5+
![](../diagrams/logging_pipeline_parser.png)
66

77
The Parser allows you to convert from unstructured to structured data. As a demonstrative example consider the following Apache (HTTP Server) log entry:
88

getting_started/routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Routing is a core feature that allows to __route__ your data through Filters and finally to one or multiple destinations.
44

5-
![](../imgs/flb_workflow_routing.jpg)
5+
![](../diagrams/logging_pipeline_routing.png)
66

77
There are two important concepts in Routing:
88

imgs/flb_workflow.jpg

-44.1 KB
Binary file not shown.

imgs/flb_workflow_buffer.jpg

-43.8 KB
Binary file not shown.

imgs/flb_workflow_filter.jpg

-45.7 KB
Binary file not shown.

imgs/flb_workflow_input.jpg

-45 KB
Binary file not shown.

imgs/flb_workflow_output.jpg

-46.6 KB
Binary file not shown.

imgs/flb_workflow_parser.jpg

-43.9 KB
Binary file not shown.

imgs/flb_workflow_routing.jpg

-45.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)