Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Search Processing Rule #5

Open
dogoncouch opened this issue Apr 2, 2018 · 0 comments
Open

Event Search Processing Rule #5

dogoncouch opened this issue Apr 2, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dogoncouch
Copy link
Owner

Feature Idea

ESP rule - triggered by chain of events in a specific order.

Rule Needs

  • Event chain specifics - use standard ESP language:
RuleEvent.source_rule_name=RULENAME FOLLOWED BY
LogEvent.source_host=X.X.X.X AND LogEvent.log_source=LOGSOURCE
FOLLOWED BY RuleEvent.source_rule_name=RULENAME
  • Time range to check
  • Check interval

Logic

  1. Convert ESP language to list of dictionaries
  2. Get events in time interval (work on making this more efficient later)
  3. Check events in reverse, comparing to reversed list of dictionaries
  4. Create rule event if sequence is matched
@dogoncouch dogoncouch added the enhancement New feature or request label Apr 2, 2018
@dogoncouch dogoncouch self-assigned this Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant