- Get Started with Threat Detection Management
- Analytics Rules
- Analytics Rule Classifications
- Create an Analytics Rule
- 1. Define the analytics rule
- 2. Import the analytics rule
- 3. Enable the analytics rule
- 4. Apply the analytics rule to your environment
- factFeature Analytics Rule JSON Configuration
- profiledFeature Analytics Rule JSON Configurationh
- contextFeature Analytics Rule JSON Configuration
- numericCountProfiledFeature Analytics Rule JSON Configuration
- numericDistinctCountProfiledFeature Analytics Rule JSON Configuration
- numericSumProfiledFeature Analytics Rule JSON Configuration
- Manage Analytics Rules
- Tune Analytics Rules
- Share Analytics Rules
- Troubleshoot Analytics Rules
- Analytics Rules Syntax
- Advanced Analytics Rule Syntax vs. Analytics Rule Syntax
- Logical Expressions in Analytics Rule Syntax
- String Operations Using Analytics Rule Syntax
- Integer Operations Using Analytics Rule Syntax
- Time Operations Using Analytics Rule Syntax
- Network Operations Using Analytics Rule Syntax
- Context Operations Using Analytics Rule Syntax
- Entity Operations Using Analytics Rule Syntax
- Correlation Rule Operations Using Analytics Rule Syntax
- Monitor the Analytics Engine
- Correlation Rules
- Threat Scoring
Advanced Analytics Rule Syntax vs. Analytics Rule Syntax
Compare the syntax used to write expressions for Advanced Analytics rules in the Fusion and Exabeam Security Operations licenses with the syntax used to write expressions for analytics rules in the New-Scale Security Operations Platform.
As you convert your Advanced Analytics rules to analytics rules, ensure rule expressions use syntax that the New-Scale Security Operations Platform analytics engine supports. While many expressions are still supported with analytics rules, there are a few expressions that are no longer supported with analytics rules.
Expression Usage | Advanced Analytics Rule Syntax | Analytics Rule Syntax | Difference |
---|---|---|---|
Add numerical arguments |
|
| No change |
Checks whether all of the arguments |
|
| No change |
Checks if |
|
| No change |
Checks if the |
|
| No change |
Rounds |
|
| No change |
Removes all characters from |
|
| No change |
Removes all characters from |
|
| No change |
Concatenates arguments as a single string. |
|
| No change |
The result of the calculation ((N-C)/N)^a, where N = total data points in the model, C = number of bins, and a = alpha. |
| – | Not supported for analytics rules |
Checks whether |
| – | Not supported for analytics rules. |
Checks whether |
| – | Not supported for analytics rules. |
Checks whether |
|
| No change |
Checks whether |
|
| No change |
Divides |
|
| No change |
Divides |
|
| No change |
Removes the last |
|
| No change |
Removes the first |
|
| No change |
Checks if |
|
| No change |
Checks whether |
|
| No change |
Terminates expression evaluation with an error; |
|
| No change |
Checks if all values are defined and non-empty. |
|
| No change |
| – | Not supported for analytics rules | |
A more efficient alternative to an "or" chain of match-field-value-and-condition plus an alternative fallback condition. The function tries to match the field value with a key of one key-value pair; if found, returns the value condition expression value as the result; otherwise, returns the default condition expression (def-cond) value. |
| – | Not supported for analytics rules. |
Returns the first expression |
|
| No change |
Rounds |
|
| No change |
Formats |
|
| No change |
Extracts the browser from user agent |
|
| No change |
Extracts the domain from |
|
| No change |
Extracts the domain from |
|
| No change |
Extracts the operating system from user agent |
|
| No change |
|
| The Advanced Analytics expression was replaced with new expressions for analytics rules. | |
Whether given rule has fired in the sequence containing this event. An alternative form of |
| – | Not supported for analytics rules |
Checks if the user entity has a defined value for |
|
| The Advanced Analytics expression was replaced with a new expression for analytics rules. |
Queries context tables. |
|
| The Advanced Analytics expression was replaced with new expressions for analytics rules. |
Converts a string of a hexadecimal number into its integer equivalent. |
|
| No change |
Returns the hour of |
|
| |
Evaluates |
|
| No change |
Evaluates the zero-based index of the first occurrence of |
|
| No change |
Checks whether the value of |
|
| No change |
Extracts
|
| – | Not supported for analytics rules |
Checks whether host name |
| – | Not supported for analytics rules |
Checks whether host name |
|
| No change |
Checks whether the value of |
|
| No change |
Checks if |
| – | Not supported for analytics rules |
Checks if |
|
| New for analytics rule; did not exist for Advanced Analytics rules |
Checks if |
|
| No change |
Checks if entity sequence feature is enabled in the installed license. |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| New for analytics rule; did not exist for Advanced Analytics rules |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks if |
|
| No change |
Evaluates whether the second level part of |
| – | Not supported for analytics rules |
Evaluates whether |
| – | Not supported for analytics rules |
Checks if |
|
| No change |
Checks if |
|
| No change |
Checks whether |
| – | Not supported for analytics rules |
Evaluates the zero-based index of the last occurence of |
|
| No change |
Return the difference between event time and user's closest previous session logout time in milliseconds. If the user was never seen before, returns 0. |
| – | Not supported for analytics rules |
Evaluates the longest common prefix among string arguments |
|
| No change |
Evaluates the longest common suffix among string arguments |
|
| No change |
Evaluates the longest common prefix among string arguments |
|
| No change |
Evaluates the longest common suffix among string arguments |
|
| No change |
Evaluates the length of |
|
| No change |
Evaluates the maximum of all arguments |
|
| No change |
Evaluates the minimum of all arguments |
|
| No change |
Multiplies numerical arguments |
|
| No change |
Multiplies numerical arguments |
|
| No change |
Normalizes a host name to a canonical short form. |
| – | Not supported for analytics rules |
Returns the username in AD format from the provided string in any of these forms:
|
| – | Not supported for analytics rules |
Checks whether any of the arguments |
|
| No change |
The number of bins in the model. |
| – | Not supported for analytics rules |
The number of times a feature must appear in order for the rule to trigger. |
| – | Not supported for analytics rules |
Checks whether any of the arguments |
|
| No change |
Quantifies how anomalous a data point is. |
| – | Not supported for analytics rules |
Sets a count threshold for the number of points in a histogram bin. |
| – | Not supported for analytics rules |
The percentile of the current historgram bin where all bins are ordered by their value. Used for histograms that have a natural order, like numerical (clustered) histograms. |
| – | Not supported for analytics rules |
The distance to the histogtram bin which is the bin at the percentileThreshold value. |
| – | Not supported for analytics rules |
Raises |
|
| No change |
Raises |
|
| No change |
The number of times the current value exists in the model divided by the total data points in the model. |
| – | Not supported for analytics rules |
In |
|
| No change |
In |
|
| No change |
In |
|
| No change |
Evaluates |
|
| No change |
Rounds |
|
| No change |
Extracts a substring from |
|
| No change |
Returns the propagation speed in KPH between the user identified in the event's previous src_ip and the one in this event. |
| – | Not supported for analytics rules |
Checks if |
|
| No change |
Checks if the |
|
| No change |
Removes |
|
| No change |
Removes |
|
| No change |
Subtracts |
|
| No change |
Keeps last |
|
| No change |
Keeps first |
|
| No change |
Evaluates the hour of the current UTC time in 24-hour format. |
|
| No change |
Evaluates the time of the month as a fraction of days since the start of the month. |
|
| No change |
Evaluates the day of the week as a fraction of days since Sunday, which is the start of the week. |
|
| No change |
Cast operation that converts |
|
| No change |
Converts |
|
| No change |
Cast operation that converts the value of |
|
| No change |
Cast operation that converts the value of |
|
| No change |
The number of data points in the model. |
| – | Not supported for analytics rules |
Overall count of the events in the given histogram or model. |
| – | Not supported for analytics rules |
Converts |
|
| No change |
Remove leading and trailing whitespace from |
|
| No change |
Whether given rule has fired in the sequence containing this event. An alternative form of |
| – | Not supported for analytics rules |