Skip to content

Create EntropyDetector (new) #150

Description

@ernstleierzopf

https://stackoverflow.com/questions/2979174/how-do-i-compute-the-approximate-entropy-of-a-bit-string

Additional, potentially useful ideas from ChatGPT (interpreted by me):

  • Entropy on event occurrence: for example a window-based approach checking frequencies of events. (Edit: this is the EventFrequencyDetector)
  • Inside of one event with multiple variables (entropy between words): is there a low entropy (always similar/same log) or high entropy (values are always different) (Edit: this is also the EventFrequencyDetector)
  • Per variable: learn unigrams / n-grams of the values inside the values. But here you cannot simply learn the average or median over 1000 logs, because this loses rare events. You could however store all frequencies in the persistency (one per event) and then compare if the log matches any of the learned frequencies (within the threshold). (Edit: Variables usually hold only one word and therefore frequencies of characters are not representative. You need a longer text for that.)

These are some ideas for future detectors that might be implemented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions