Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

You can insert all the data for a particular event stream to a CSV file including values separated by an appropriate separator (e.g. comma, slash, etc). You need to enter a new dataset for a new event, after a newline character. For example, the following CSV file includes data for four events.

Use either 'true' or 'false' as values for boolean type attributes that are defined in an event stream, when sending events via the event simulator.

199008131245,false,100,temperature,23.45656,7.12324,100.34,23.4545
199008131245,true,101,temperature,23.45656,7.12324,100.34,23.4545
199008131245,false,103,temperature,23.45656,7.12324,100.34,23.4545
199008131245,true,104,temperature,23.45656,7.12324,100.34,23.4545

Follow the steps below to send multiple events to a defined event stream using a CSV file via the event simulator.

  1. Log in to the product management console using the following URL: https://<PRODUCT_HOST>:<PRODUCT_PORT>/carbon/
  2. Click Tools, and then click Event Simulator.
  3. Select the Event Stream Name from the drop down list.
  4. Browse and upload the CSV file. It will be hot deployed in the server. Refresh the page to view the uploaded file.
  5. Click Configure, to configure  the CSV  file to specify the field delimiter before simulating the event flow as shown below.
    configuring the uploaded CSV file
  6. Configure the CSV file by entering the field delimiter as shown below.
    event mapping configuration
  7. Click Play, to simulate the event flow. 

    Click the corresponding Delete button to, delete the uploaded CSV file along with its configurations. 

    click Play to simulate sending of the events

  • No labels