CESNET / Nemea-Framework

Nemea framework is the heart of the Nemea system. It contains implementation of common communication interfaces, UniRec data format and useful datastructures and algorithms.
11 stars 24 forks source link

report2idea: add `syslog` action #190

Closed cejkato2 closed 2 years ago

cejkato2 commented 2 years ago

Example config file to define new syslog custom_action is taken from syslog.yaml test config:

namespace: com.example.nemea
custom_actions:
  - id: mysyslog
    syslog:
      identifier: NEMEA
      logoption: LOG_PID | LOG_CONS
      facility: LOG_DAEMON
      priority: LOG_ALERT

rules:
- id: 1
  condition: True
  actions:
  - mysyslog
codecov-commenter commented 2 years ago

Codecov Report

Merging #190 (de85024) into master (80b7cde) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #190   +/-   ##
=======================================
  Coverage   80.00%   80.00%           
=======================================
  Files           2        2           
  Lines          10       10           
=======================================
  Hits            8        8           
  Misses          2        2           
Flag Coverage Δ
tests 80.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.