Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Score a given table based on how frequently a unique group of the specified columns occurs. Higher scores are given to less frequent occurrences. The output table adds an additional lhub_score column that contains the score.

Operator Usage in Easy Mode

  1. Click + on the parent node.
  2. Enter the Score by Least Frequency operator in the search field and select the operator from the Results to open the operator form.
  3. In the Input Table drop-down, enter or select the name of the table containing the data to run this operator on.
  4. Optional. In the Columns drop-down, enter or select the columns to group events by.
  5. Click Run to view the result.
  6. Click Save to add the operator to the playbook.
  7. Click Cancel to discard the operator form.

Usage Details

LQL Command

Code Block
scoreByLeastFrequency(inputTable, columns)

...

Output
The input table with an additional lhub_score column that contains the score [0.0 - 10.0]. Less frequently occurring groups get higher scores.

Example

Input
table

iddestIPdestPort
1192.68.0.13250
2192.68.0.13250
3192.68.0.13250
453.32.124.87458
5192.68.0.13250
6192.68.0.13250

...