Releases: anders-wartoft/LogGenerator
v1.1-6.2
v1.1-5
Added a property --print-keys (-pk) to the KafkaInputItem to print the Kafka key for lines read.
Added a property --start-number (-sn) to the CounterInputItem to alter the start number.
Security update
Changed kafka-clients dependency version from 3.7.1 to 3.9.1 due to CVE-2025-27817
1.1-3
Added a parameter {all} to regex filter, so a regex filter can wrap the log in a new string. Also, fixed a bug that hindered the regex filter to escape quotes (changing " to ").
Minor documentation updates.
1.1-2
Update of documentation. E.g., -h is no longer valid as --hostname shorthand. Also, update of -f guard. In 1.1-1, the -f guard command removed all content in the event but not the event itself, so if the event was written to file, an empty line would be the result. In 1.1-2, the event is correctly removed.
New Input: StringInputItem. This works like Template but you don't need to create a file with the template, you can just add it on the command line.
1.1-1
1.1-1 Updated kafka-clients dependency due to security vulnerability in earlier versions of the Kafka-client library used.
CVE-2024-31141 Moderate severity
1.1-SNAPSHOT
-
Major refactoring of the configuration system.
The main method now only accepts the following parameters:
-hor--helpto get help
-ior--inputto specify the input module
-oor--outputto specify the output module
-for--filterto specify the filter module
-pfor--property-fileto specify a properties file
-vfor--variable-fileto specify a variable file
-lor--limitto specify the number of events to send (0 means no limit)
-eor--epsto specify the number of events per second to send (0 means no limit)
-sor--statisticsto add statistics messages and printoutsAfter
-i {module}you can add parameters for the input module. The parameters are module specific.
After-o {module}you can add parameters for the output module. The parameters are module specific.
After-f {module}you can add parameters for the filter module. The parameters are module specific.
To see the available parameters for a module, use-hor--helpafter the module name, e.g.,-i file -h.The main reason for this change is to be able to add several input modules, filters and output modules of the same type in the same command line,
e.g.,-i file --name file1.txt -i file --name file2.txt -o cmd -o file --name file3.txt -o file --name file4.txt.Properties in a properties file must now be specified in order, since the order is now important.
-
DateSubstitute now supports epoch16 format
-
Headers, Regex and Templates now support different time offsets. This is useful when you want to send events with a timestamp that is not the current time.
1.06-SNAPSHOT
- DropFilter added. Use a regular expression to specify events to drop
- DateSubstitute now supports epoch format
- Moved headers to last in event chain. Headers will now be created after all other filters have been executed
- The eps limiter can now use floating points, so to send one event every 4 seconds, use -e 0.25
1.05-SNAPSHOT
- SelectFilter added. Use a regular expression to specify what to keep in each event
- GapDetection will now print gaps each time the statistics is printed. Events that appear out of order will now be reflected without need to shut down the receiver.
1.04-SNAPSHOT
- Bug fixe in output item factory. Missing TCP and File outputs.