Updated on 2024-01-08 GMT+08:00

Adding an Event Source

After creating the function, you can add an event source by creating a DIS trigger. Perform the following procedure:

  1. On the DISDemo page, select Configure Test Event on the Code tab, as shown in Figure 1.

    Figure 1 Configuring a test event

  2. In the Configure Test Event dialog box, set the test event information, as shown in Figure 2.

    • Select Create new test event.
    • Event Template: Select Data Ingestion Service (DIS).
    • For Event Name, enter dis-test.
      Figure 2 Test event

  3. Click Create.