generate
The generate command is used to generate a specified number of dummy events for testing and development purposes.
Syntax
The generate command accepts a single argument specifying how many events to generate:
| generate <count>
Description
The generate command creates dummy events with an id field containing sequential integers starting from 0. It's primarily used for testing search queries and functionality without needing actual data.
Example
Generate 10 dummy events:
| generate 10
This will create 10 events, each with an id field containing a sequential number (0 through 9).