Skip to main content
Interania

1.4 Create an actor property

0votes
18updates
54views

An actor is the "who or what" that is performing an event. An actor can be a user, physical object (such as a device), digital object (like a subreddit), or a bot.

Actor columns are identified at ingest time by explicitly making them shard keys. When an event source has multiple actor populations, they are implemented through multiple shard keys on the same dataset (table). An actor is one of the “mandatory” fields for every logged event, which also includes a timestamp and name of the event. You can associate properties with an actor that specify the following:

  • Aggregate—The most common actor properties aggregate events or flows. Such as, an actor property of count number of sessions for sessions with total time > 5 min.
  • Defined Value—If you have several actor properties, you may want to perform a bucketing operation. Such as, if "Num5MinSessions > 10" then "heavy user" otherwise "light user".
  • Function—You can perform a mathematical function and apply it as an actor property. For example, if you have Num5MinSessions and Num60MinSessions, you can apply a function that returns a ratio of the two for the actor property.

Defining an actor property

This section demonstrates how to create an actor property. For our example, we create an actor property that determines the movies watched by each user. You can apply the principles from this example to create your own actor property.

To create an actor property, do the following:
  1. In the left navigation bar, click Actors.

icon_actors.png

  1. Choose a dataset from the drop-down list at the top of the window. In this example, we chose the IA_MOVIES dataset. The options available to you will reflect your data.

actor-property_datasource2.png

  1. Click New Actor Property in the upper right corner of the window.

1.4_NewActorProperty-button.png

  1. At the top of the page, enter a unique name for the actor property. We named our property Movies watched.

1.4_ActorPropertyName2.png

  1. Select an actor from the drop-down list. In this example, we selected username. The options available to you will reflect your data

1.4_ActorProperty_actor-option.png

  1. Click the Show tab and choose the appropriate options from the drop-down lists. In our example data, we chose count of events.
  2. Make selections for Filtered to options. We chose events with action that matches watch_movie.

1.4_Show-count-events.png

  1. Specify a trailing window and time range (for more information, see specify relative time in a query). We specified a trailing window of 1 week, and accepted the default time range values of Beginning of time until Now.

1.4_Relative-time-options.png

  1. Optional: Specify Defined Value and Function options as necessary. We accepted the defaults for our example. 
  2. Click the Save in the upper right corner of the page, and then click GO. We received the following results for our example actor property.

1.4_Results.png

Our results is rather busy. We could filter over a shorter time range, or other filter options to further explore the behavioral trends in the data.

What's Next

You've successfully created an event property and actor property, now you'll want to learn how to:

  • Was this article helpful?