Updated on 2024-11-15 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).
    • Event Name: Enter an event name, for example, dis-test.
      Figure 2 Test event

  3. Click Create.