This query function is used as a source of events, a fixed set of events which are generated.
Note
This query function is not yet available, but expected to be released in a future version of Humio.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
kvParsed | string | false | Specification of events to emit. Each event is given as a string which is run through findTimestamp() | kvParse() . | |
rawstring | string | false | Specification of events to emit. Each event is given as a @rawstring which is not processed further. |
Examples
To test how a particular query would behave if the source had only two events you could execute a query such as the following:
humio
createEvents(kvParsed=["animal=dog weight=7.0", "animal=cat weight=4.2"])
The events are specified as a key=value
string, and
parsed with kvParse()
.