All Products
Search
Document Center

Dataphin:Create and manage events

Last Updated:Jan 23, 2025

Events are operations that occur at a specific point in time within an application and are considered both independent and meaningful. Examples of user behavior events include clicking a button, logging on, browsing, and completing transactions. This topic provides guidance on how to add events.

Prerequisites

Create an event

  1. Select Tag > Event Center from the top menu bar on the Dataphin home page.

  2. In the left-side navigation pane, choose Event Center > Event Management.

  3. On the Event Management page, click Add Event.

  4. On the Create Event page, fill in the Basic Information and set up the Meta Table Structure And Property Mapping for the event.

    • Basic Information

      Parameter

      Description

      Event Name

      Input the event name. Acceptable characters include Chinese, English, numbers, and underscores (_), up to 64 characters.

      Event Code

      Enter the unique identity for the event, using Chinese, English, numbers, and underscores (_), up to 64 characters.

      Owner

      Choose the owner who will manage the event.

      Data Source

      Select the data source for the event. Options include DataHub and Kafka.

      Source Table

      Provide the name of the source table associated with the event.

      Category

      Choose the event category to which this event will be assigned.

      Event Format

      For Kafka data sources, select the event format. Options include CSV and JSON.

      Description

      Provide a brief description of the event, up to 1000 characters.

    • Meta Table Structure and Property Mapping

      imageSelect the properties to include in the event and click Add to the right to construct the meta table structure and map properties. For properties of type Long Integer, you can specify if it is a Time Series Field. A time series field is a database field that stores time series data, often used for recording timestamps or datetime information.

  5. Click Publish to finalize the creation of the event.

Manage events

  1. On the event management page, the event category list on the left shows the created event categories and their event counts. Click a category name to view all events within it. Events are listed with details such as Event Name, Owner, Status, Created At, Description, and available Actions.

  2. (Optional) Filter events by selecting Owner, Status, entering Event Name or Code, or by choosing Only My Events to display events managed by the current user.

  3. In the actions column of the event list, you can perform the following:

    Action Item

    Description

    View

    Click the image icon to view details of the event.

    Edit

    To edit the current event information, click the image icon. Note that changes to Event Code, Datasource, Source Table, and Event Format are not permitted. Events with a Published status are view-only and cannot be altered.

    Unpublish

    To unpublish events that are in the Published status, click the image icon labeled 'unpublish'.

    Delete

    To remove the current event properties, click the image..png delete icon. Events with a Published status cannot be deleted.

What to do next

After creating and publishing the event, you can use it as a reference when building a real-time dataset. For more information, see Create and configure a real-time dataset.