File: rs-prifilt.rst

package info (click to toggle)
rsyslog-doc 8.2302.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,464 kB
  • sloc: python: 178; makefile: 8
file content (23 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*********
prifilt()
*********

Purpose
=======

prifilt(constant)

Mimics a traditional PRI-based filter (like "\*.\*" or "mail.info").
The traditional filter string must be given as a **constant string**.
Dynamic string evaluation is not permitted (for performance reasons).


Example
=======

In this example true would be returned on an auth event.

.. code-block:: none

   prifilt("auth,authpriv.*")