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

DOV-5562: Document size comparisons using units in configuration_manual/event_filter #591

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions source/configuration_manual/event_filter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ A more complicated example::
event=abc OR (event=def AND (category=imap OR category=lmtp) AND \
NOT category=debug AND NOT (bytes_in<1024 OR bytes_out<1024))

.. versionadded:: v2.4.0;v3.0.0 Sizes can be expressed using the unit values
``B`` - which represents single byte values - as well as ``K``, ``M``, ``G``
and ``T`` which are all powers of 1024. If no unit is specified ``B`` is
used by default.

For example::

(category=debug AND NOT (bytes_in<1K OR bytes_out<1K)) OR \
(event=abc AND (message_size>1G and message_size<1T))

.. _event_filter_metric:

Metric filter syntax
Expand Down