A utility for creating log files or sending Log events to a defined URL. The tool's original intent was to help test Fluentd configurations. Through the use of this tool, we can simulate different kinds of log files. However, the ability to read a source of events, format and send the events to an event-based solution (which may or not be log events) or event store, such as a log file, has resulted in the tool being extended to make it usable with other channels.
The tool uses a separate source file for its log entries. This file is identified in the properties file, which controls all aspects of the utility. Full documentation at /docs/readme.md. Which includes all the details for targeting the different outputs. The list includes:
- single and multiline log files in different formats
- TCP socket
- HTTP
- Java Logging Utility (JUL)
- stdout, errout
- Custom, which allows bringing your own destination, and provided custom plugins for:
- OCI Logging
- OCI Notifications
- OCI Queue
The code is licensed under Apache 2.
A number of batch and shell scripts are provided in this directory. They are for the purpose of illustrating the different approaches to using the tool.
Details on how the configuration works can be found at ./docs/readme.md
If you're looking for the exercise content and results used in the book Logging In Action with Fluentd - these are in the download pack available with the book.
The log generator can be deployed either as a JAR file or in a Docker container. The information for these configs can be read at:
- ./jar/readme.md - how to generate the Groovy app as a JAR, including a previously generated JAR ready to be taken and used
- ./docker/readme.md - the details of the Docker image creation and deployment.
- ./Kubernetes/readme.md - details of the Kubernetes configuration to deploy the simulator