The Generator input can be used to Generate log files for test purposes.
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
}
]
}
}
}
After a successful parse of the generated line, the following fields are added:
Name | Type | Description |
---|---|---|
Message | STRING | Text line content |