Skip to main content
Interana Docs

Create an event property

Every logged event includes fields for timestamp and actor. Other properties can be associated with the event as well, such as location, type of item purchased, or another attribute, column, or field that describes the event.

An event property can exist in your source data, in which case the Interana UI identifies it as a raw event property. Or a user can define a custom event property, in which case it is identified as a manual event property. An event property produces a single value for each event.

Use an event property in a query to summarize, group by, or filter on a reusable expression.

For example, if your log data includes a start and end time, you could define a new event property using the calculate method, "duration", as end time minus start time. Then you can use "duration" in a more complicated query (in an aggregation, group by, or filter) or to construct another event property. When you then run the the top-level query, it computes duration for any event in your data that has both a start and end time.

Defining an event property

This section demonstrates how to create an event property, in which you specify a definition and function.

  • You must specify at least one value for a defined value event property, and optionally a value to assign, if the event property definition does not return any results. 
  • To create a function for an event property, specify the actor or context used to evaluate the value, as well as the mathematical operator to perform (add, subtract, multiply, or divide).
To create an event property, do the following:
  1. Select a dataset from the drop-down list in the upper left corner. Your dataset options will be for your company data. In our example, we chose the movies dataset.
  2. From anywhere in the Interana UI, click Data in the left navigation bar.
  3. Click New Event Property in the top right corner of the window.

1.3_NewEventProperty-button.png

  1. Enter a unique Name at the top of the window to describe the property. We named our example property Purchase Movie.
  2. Next to Method, select the appropriate method for your property. In our example, we used Filter.
  3. Select the appropriate options for the property from the drop-down lists. We chose events with action that matches purchase_movie.

Screen Shot 2019-12-02 at 1.51.01 PM.png

  1. Optional: You can combine multiple actions or other event types in the same event property by clicking + or and... in the filter definition. Or you can define multiple segments within the same event property by using the Label method instead of Filter. For example, we could call our event property All purchases, and either
    • Click + in the Filter method to lump buy_subscription events in with our purchase_movie events.
    • Or we could use the Label method and create two segments, one for buy_subscription events and one for purchase_movie events.
  2. To validate your event property definition, click GO at the bottom left corner to run the query.
  3. Click Save in the top right corner of the page. You can now use your event property as a building block in top-level queries.

What's Next

You've successfully created an event property. Now you'll want to learn how to:

For more information and examples of event properties, see Building an event property in the User's Guide.

  • Was this article helpful?