Page tree

To reduce the amount of data that the system must process by eliminating irrelevant traffic, use traffic inclusion/exclusion rules. The system evaluates each hit according to a combination of rules that you configure to decide whether the data is kept or discarded.

In the hosted environment, you can configure these rules in the Real User Collector component. If you are using Application Performance Management as a service, you can configure rules by modifying the rules.conf file on the Cloud Probe computer.

To configure traffic inclusion/exclusion rules

  1. Stop the Real User Cloud Probe service:
  2. Prevent the Cloud Probe agent from getting traffic inclusion/exclusion configuration from the Real User Collector:
    1. Open the probe_properties.conf file located on the Cloud Probe host in the installationDirectory/cloudprobe/conf folder. The default Windows installation directory is C:\Program Files\BMC Software\, and the default Linux installation directory is /opt/bmc/.
    2. Under the #Traffic section, set the value of SYSTEM.PROPERTIES.EPX.probe.conf-collector-policies-listener-interval parameter to 0.

       

      Note

      When you set the SYSTEM.PROPERTIES.EPX.probe.conf-collector-policies-listener-interval parameter to a non-zero value (for example, 30), the Cloud Probe will override the contents of the probe_properties.conf file with configuration from Real User Collector every 30 seconds.


      Now, the Cloud Probe uses the traffic inclusion/exclusion rules from the rules.conf file disregarding the configuration defined in the Real User Collector.

  3. Start the Real User Cloud Probe service.

The Cloud Probe starts using traffic inclusion/exclusion rules configuration from the configuration file.

Example of the rules.conf
IPSWRULE CLEARALL
HOSTSWRULE CLEARALL
DUPTRAFFSWRULE CLEARALL
IPSWRULE UPDT 1 1 10.5.3.6 255.255.255.255 -1 2 0
IPSWRULE DEFAULT 1 1
IPSWRULE UPDT 1 2 10.5.3.2 255.255.255.255 8020 2 0
IPSWRULE DEFAULT 2 1
HOSTSWRULE UPDT 1 www.bmc.com 10 2 0
HOSTSWRULE DEFAULT 1
IPSWRULE UPDT 99999 2 172.28.238.191 255.255.255.255 0 2 0
 

Note

The rules configuration file must end with an empty line.

Related topics

Host sweeping commands syntax
IP sweeping commands syntax
Configuring confidentiality policies on a Cloud Probe
Filtering traffic by using inclusion and exclusion policies