concept simulator in category fluentd

This is an excerpt from Manning's book Unified Logging with Fluentd.
The simulator uses a properties file to control its behavior and uses a file which describes a series of log entries to transmit. We will make more use of this in later chapters as it will allow us to see how log rotation and other behaviors can work. Each chapter of the book has a folder containing the relevant properties files and log sources to help with that chapter. We would recommend you download these and copy them to be child folders wherever you have installed the LogSimulator. Navigate to the LogSimulator folder and run the following command:
groovy logSourceSimulator.groovy Chapter2\\SimulatorConfig\\test-tool.propertiesIf you’d like to know what is going on in more depth, then edit the test-tool.properties file and change the verbose property from false to true. This should display to the console some log entries that are defined in the file small-source.txt. All the properties for the simulator are explained in the documentation at http://bit.ly/LogGenerator.
If you need to troubleshoot the simulator – then we recommend you look at the Simulator documentation and its troubleshooting which can be found at http://bit.ly/LogGenerator.