Simulator

The Simulator feed simulates events in real-time using a web-accessible file according to a specified rate and quantity of features.

Example

  • An emergency management operations specialist replays historical data in support of preparedness exercises for future events.
  • A data analyst wants to test real-time visualization and analytics against their existing data.

Usage notes

  • When simulating track-based data, sort the data by timestamp and then by track id.

After configuring feed connection properties, see Configure input data to learn how to define the schema and the key properties.

Parameters

ParameterExplanationData Type

URL

The full URL to the externally accessible simulation file.

String

Field Separator

The character, or delimiter, which separates field values in the simulation file.

String

Features per Execution

The number of records (features) to simulate at a time.

If your data is sorted by timestamp and then by track id, and you have an equal number of observations for each track, set this parameter to the number of unique tracks in your data.

Integer

Interval for Sending Events (milliseconds)

The interval between sending the number of Features per Execution.

Set this to 1000 to simulate a set of features once per second.

Integer

Repeat Simulation

Whether to automatically restart from the beginning when the end of the file is reached.

Boolean

Time Field Index

The numerical index of the date field in the dataset, where the index starts at 0.

For example, if the date field is the second field, the index is 1.

Integer

Convert to Current Time

Whether to convert the time values in the dataset to current time as the data is simulated.

This allows mapping applications to treat the data as real-time.

Boolean

Considerations and limitations

  • The Simulator feed supports delimited text files only.
  • The simulation file must be publicly available on the Internet and the size of the file cannot exceed 8 MB. If the file size exceeds 8 MB, features may not be ingested.