Skip to main content
Version: 2.18.X

Preparing Your File

Once you've established a place to put your data in Cogynt, the next step is to prepare your file for processing. Here, you'll provide your data in a JSON file before you begin to construct your patterns in Authoring.

Upload a JSON File

Cogynt's Data Management Tool provides several options to upload data into Kafka. For the purpose of this guide, you'll use the tool's GUI to upload a JSON to Kafka.

To upload your JSON file:

  1. Open Data Management Tool.
  2. On the landing page, click Data File Upload.
  3. From the Select Project dropdown menu, select the project you created earlier.
  4. From the Select Topic dropdown menu, click Use New Topic and follow these instructions:
    1. In the New Topic window, in the Topic field, type a name for the topic. (Note: For this exercise, the other fields can be left with their default values.)
    2. Click Confirm.
  5. From the Data Source dropdown menu, select your data source (usually default).
  6. Under Data File, either drag your JSON file to the space indicated on the page, or click the space to browse for and select your JSON file.
  7. Inspect the preview to confirm that the uploaded file matches what you expected.
  8. Click Upload.
  9. In the Confirm Data File Upload dialog, click Upload.

Next Steps

Your next steps involve logging into Cogynt Authoring, where you will create the processing logic:

  1. Create an event pattern node to house input and output events.
  2. Create input and output elements that reference the data you've just uploaded via schemas and event types you create.