:tocdepth: 3

base/protocols/syslog/consts.bro
================================
.. bro:namespace:: Syslog

Constants definitions for syslog.

:Namespace: Syslog
:Source File: :download:`/scripts/base/protocols/syslog/consts.bro`

Summary
~~~~~~~
Constants
#########
===================================================================================================================== ======================================================================
:bro:id:`Syslog::facility_codes`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` Mapping between the constants and string values for syslog facilities.
:bro:id:`Syslog::severity_codes`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` Mapping between the constants and string values for syslog severities.
===================================================================================================================== ======================================================================


Detailed Interface
~~~~~~~~~~~~~~~~~~
Constants
#########
.. bro:id:: Syslog::facility_codes

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "KERN",
         [9] = "CRON",
         [14] = "ALERT",
         [5] = "SYSLOG",
         [20] = "LOCAL4",
         [12] = "NTP",
         [15] = "CLOCK",
         [4] = "AUTH",
         [2] = "MAIL",
         [7] = "NEWS",
         [19] = "LOCAL3",
         [17] = "LOCAL1",
         [3] = "DAEMON",
         [13] = "AUDIT",
         [6] = "LPR",
         [1] = "USER",
         [16] = "LOCAL0",
         [23] = "LOCAL7",
         [11] = "FTP",
         [21] = "LOCAL5",
         [8] = "UUCP",
         [18] = "LOCAL2",
         [22] = "LOCAL6",
         [10] = "AUTHPRIV"
      }

   Mapping between the constants and string values for syslog facilities.

.. bro:id:: Syslog::severity_codes

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "EMERG",
         [5] = "NOTICE",
         [4] = "WARNING",
         [2] = "CRIT",
         [7] = "DEBUG",
         [3] = "ERR",
         [6] = "INFO",
         [1] = "ALERT"
      }

   Mapping between the constants and string values for syslog severities.


