Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.53 KB

Generator.md

File metadata and controls

37 lines (31 loc) · 1.53 KB

Input: Generator

The Generator input can be used to Generate log files for test purposes.

Parameters

The following parameters are allowed when configuring the test log Generator.

Parameter Type Description Details Default
type string Message type Win32-InputGen
message string Message format to send Hello, World!
count integer Number of messages to generate 0 - Infinite, otherwise that number 0
rate integer Sleep time between generated messages Milliseconds 10
codec object Codec to use

Example: Generate 100000 "Hello Win32-InputGen" messages

{
    "TimberWinR": {
        "Inputs": {
            "Generator": [
                {
                   "message":  "Hello %{type}",
                   "count": 100000
                }
            ]
		}
	}
}

Fields

After a successful parse of the generated line, the following fields are added:

Name Type Description
Message STRING Text line content