#include <log_builtins_filter.h>
◆ operator=()
◆ aux
aux: item to add/prio to set/throttle rate
◆ cond
how to compare: < > == regex etc
◆ flags
ulong _log_filter_rule::flags |
log_filter_flags (fix storage size)
◆ id
ulong _log_filter_rule::id |
index may change; this will not
◆ jump
ulong _log_filter_rule::jump |
default: 0.
action of an IF/ELSEIF/ELSE branch: points behind last branch of this IF-construct (we successfully matched a condition, and executed its statement, so leave this IF-construct as nothing else will apply). condition of an IF/ELSEIF: points to next ELSEIF/ELSE, so we can jump there if the condition fails.
◆ match
compare to this item type/class/key/value etc
◆ match_count
std::atomic<int32> _log_filter_rule::match_count |
how often did this rule match?
◆ rule_lock
lock an individual rule (to update state keeping)
◆ throttle_matches
ulong _log_filter_rule::throttle_matches |
how many lines in this window matched? (both suppressed and not)
◆ throttle_window_end
ulonglong _log_filter_rule::throttle_window_end |
for rate-limiting: at what time will current window end?
◆ throttle_window_size
ulong _log_filter_rule::throttle_window_size |
for rate-limiting: window-size (in seconds)
◆ verb
what to do: drop, upvote, etc
The documentation for this struct was generated from the following file: