Configure DataStream in a custom rule

You can create any number of custom rules in your property configuration to associate match criteria with behaviors. You can configure a DataStream behavior in a custom rule to define the hostnames within your property that you want DataStream to collect data for. Also, you can specify match criteria for incoming requests to decide when to apply the DataStream behavior. By combining match criteria with the behavior’s stream selection, DataStream ensures flexibility in collecting data based on specific requests and streams.

For more information, see Rules and matches in Property Manager.

How to

  1. On the Property Manager Editor page, click Add Rule in Property Configuration Settings.
  2. In Add New Rule, from Available Rules (by Category), select Blank Rule.
  3. Select Blank Rule Template and click Insert Rule.
    A New Rule entry appears in the rules column.
  4. In Criteria, add match criteria and choose one or more property hostnames to apply the DataStream behavior to.
    For a full list of matches, see Available match criteria in Property Manager.
  5. Click Add Behavior, and select DataStream.
  6. Optional: In DataStream ID(s), enter identifiers of the active streams associated with the property and separate them with a hyphen. These are the streams that you want to monitor and receive data from.
    For example, 51-75-145 means that you will receive data from the streams with the following identifiers: 51, 75, 145.
    Note: If you leave this field empty, the DataStream behavior will collect data from all active streams associated with the property.
  7. To enable the DataStream behavior, set the Enable switch to On.


Here, you’ve specified only two hostnames from your property configuration that DataStream collects logs for. Also, you’ll receive data sets from three streams and for requests with an HTTP 200 response status code.