Time Marker Source

Definition

Protocol

Test

 

 

Description

Generate EventsPerSec sample events continuously where FieldName contains Number unique values.

 

 

Comments

If EventsPerSec is empty, missing or blank, or less than zero, no events are generated.

To specify less than 1 event per second, use a decimal number. Example: 0.2 is one event every five seconds.

Each generated event has the following fields with their respective values:

Event Field Contents
Host Host
App App
Log Log
Count <count value>
Msg <system time>
FieldName <unique #>

If FieldName or Number is empty, missing or blank, no field is modified.

If FieldName already exists in the event, the random number string will be appended to the value of the field; otherwise, if the field does not exists in the event, a new field will be generated.

 

Example

<source objectId="DemoEvGen" type="DemoEventGenerator" stdout="FS.DemoAlive">
	<parameter type="EventsPerSec">0.2</parameter>
	<parameter type="FieldName">ev:app</parameter>
	<parameter type="Number">100</parameter>
</source> 
 

Event Mapping

Sample Event XML

<event xmlns:ev="http://www.eventgnosis.com/">
	<ev:host>Host</ev:host>
	<ev:app>App72</ev:app>
	<ev:log>Log</ev:log>
	<ev:msg>2003-10-18 14:25:07.621</ev:msg>
	<ev:count>5</ev:count>
</event>