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: README.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,16 @@ It is being written as a partner title to [Logging In Action](https://www.mannin
52
52
53
53
### Log Simulator
54
54
55
-
The book uses several third-party tools, all of which are referenced in the Appendix. One tool that can be helpful with developing and testing Fluent Bit configurations (currently just logs) is the Log Simulator. All the resources for this can be found in the [Log Generator GitHub](https://github.com/mp3monster/LogGenerator) repository.
55
+
The book uses several third-party tools, all referenced in Appendix A. The Log Simulator can be a very helpful tool for developing and testing Fluent Bit configurations (although it is currently limited to just logs). All the resources can be found in the [Log Generator GitHub](https://github.com/mp3monster/LogGenerator) repository.
56
+
57
+
The docker scripts we've provided to run the Log Simulator (are in the folder `SimulatorConfig` in the relevant chapter folders). These scripts exist to just simplify the Docker command - primarily mapping the volumes and environment variable configuration settings for a specific scenario.
58
+
59
+
The command does include the parameters `-ti --init` . This means that the Docker container will terminate with the use of `ctrl-c`. These parameters do the following:
60
+
61
+
-`-ti` tell Docker to use a pseudo tty (terminal input) and to run interactively. As a result, you will see everything the Log Simulator sends to the console.
62
+
-`--init` command modifies the way the process is started within the container so that the
63
+
64
+
The use of this `-ti --init` is nicely explained [here](https://www.baeldung.com/ops/docker-init-parameter) and you can read more about how `--init` works [here](https://github.com/krallin/tini).
0 commit comments