MySQL 8.0.40
Source Code Documentation
|
#include <log_builtins_filter.h>
Public Attributes | |
ulong | id |
index may change; this will not More... | |
ulong | jump |
default: 0. More... | |
log_item | match |
compare to this item type/class/key/value etc More... | |
log_filter_cond | cond |
how to compare: < > == regex etc More... | |
log_filter_verb | verb |
what to do: drop, upvote, etc More... | |
log_item | aux |
aux: item to add/prio to set/throttle rate More... | |
ulonglong | throttle_window_end |
for rate-limiting: at what time will current window end? More... | |
ulong | throttle_window_size |
for rate-limiting: window-size (in seconds) More... | |
ulong | throttle_matches |
how many lines in this window matched? (both suppressed and not) More... | |
ulong | flags |
log_filter_flags (fix storage size) More... | |
volatile int32 | match_count |
how often did this rule match? More... | |
mysql_rwlock_t | rule_lock |
lock an individual rule (to update state keeping) More... | |
log_item _log_filter_rule::aux |
aux: item to add/prio to set/throttle rate
log_filter_cond _log_filter_rule::cond |
how to compare: < > == regex etc
ulong _log_filter_rule::flags |
log_filter_flags (fix storage size)
ulong _log_filter_rule::id |
index may change; this will not
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.
log_item _log_filter_rule::match |
compare to this item type/class/key/value etc
volatile int32 _log_filter_rule::match_count |
how often did this rule match?
mysql_rwlock_t _log_filter_rule::rule_lock |
lock an individual rule (to update state keeping)
ulong _log_filter_rule::throttle_matches |
how many lines in this window matched? (both suppressed and not)
ulonglong _log_filter_rule::throttle_window_end |
for rate-limiting: at what time will current window end?
ulong _log_filter_rule::throttle_window_size |
for rate-limiting: window-size (in seconds)
log_filter_verb _log_filter_rule::verb |
what to do: drop, upvote, etc