man syslog-ng.conf(5) - файл конфигурации syslog-ng

debian, “man syslog-ng.conf(5) - syslog-ng configuration file”, public translation into Russian from English More about this translation.

See also 139 similar translations

Translate into another language.

Participants

morbo802 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next
1 2 3

man syslog-ng.conf(5) - syslog-ng configuration file

man syslog-ng.conf(5) - файл конфигурации syslog-ng

History of edits (Latest: morbo 2 years, 11 months ago) §

NAME

НАЗВАНИЕ

History of edits (Latest: morbo 2 years, 11 months ago) §

/etc/syslog-ng/syslog-ng.conf - syslog-ng configuration file

syslog-ng.conf - файл конфигурации syslog-ng

History of edits (Latest: morbo 2 years, 11 months ago) §

DESCRIPTION

ОПИСАНИЕ

History of edits (Latest: morbo 2 years, 11 months ago) §

The configuration file for syslog-ng

Файл конфигурации syslog-ng.

History of edits (Latest: morbo 2 years, 11 months ago) §

A message route in syslog-ng is made up from three parts: a source, a destination and filtering rules.

Маршрут сообщений в syslog-ng состоит из трёх частей: источник, приёмник и правила фильтрации.

History of edits (Latest: morbo 2 years, 11 months ago) §

SOURCES

ИСТОЧНИКИ

History of edits (Latest: morbo 2 years, 11 months ago) §

You can declare source statements using the "source" keyword:

Вы можете объявить источник, воспользовавшись ключевым словом "source":

History of edits (Latest: morbo 2 years, 11 months ago) §

source <sourcename> { sourcedriver params; sourcedriver params; ... };

source <название_источника>
{
sourcedriver параметры;
sourcedriver параметры;
...
};

History of edits (Latest: morbo 2 years, 11 months ago) §

Sourcename is an identifier you'll use to refer to this group of messages. Sourcedriver is a method of getting a given message. The following drivers are available:

Название источника - это идентификатор, который вы используете для ссылки на группу сообщений. sourcedriver - это метод получения заданных сообщений. Доступны следующие драйверы:

History of edits (Latest: morbo 2 years, 11 months ago) §

* file <filename> - reads messages from the given file

* file <имя_файла> - читать сообщения из заданного файла

History of edits (Latest: morbo 2 years, 11 months ago) §

* unix-dgram <filename> - reads messages from the given AF_UNIX, SOCK_DGRAM socket (BSDi style)

* unix-dgram <имя_файла> - читать сообщения из заданного сокета AF_UNIX, SOCK_DGRAM (стиль BSDi)

History of edits (Latest: morbo 2 years, 11 months ago) §

* unix-stream <filename> - reads messages from the given AF_UNIX, SOCK_STREAM socket (Linux style)

* unix-stream <имя_файла> - читать сообщения из заданного сокета AF_UNIX, SOCK_STREAM (стиль Linux)

History of edits (Latest: morbo 2 years, 11 months ago) §

* udp <ip>,<port> - network source using the UDP protocol. If you do not want to bind to a specific interface use 0.0.0.0.

* udp <IP-адрес>,<порт> - сетевой источник, используя протокол UDP. Если вы не хотите привязываться к какому-то особому интерфейсу, воспользуйтесь 0.0.0.0.

History of edits (Latest: morbo 2 years, 11 months ago) §

* tcp <ip>,<port> - network source using the TCP protocol.

* tcp <IP-адрес>,<порт> - сетевой источник, используя протокол TCP.

History of edits (Latest: morbo 2 years, 11 months ago) §

* sun-streams <filename> - local source used on Solaris systems

* sun-streams <имя_файла> - локальный источник, используемый на системах Solaris

History of edits (Latest: morbo 2 years, 11 months ago) §

DESTINATIONS

ПРИЁМНИКИ

History of edits (Latest: morbo 2 years, 11 months ago) §

Destinations can be created using the destination keyword:

Приёмники могут быть созданы с помощью ключевого слова "destination":

History of edits (Latest: morbo 2 years, 11 months ago) §

destination <destname> { destdriver params; destdriver params; ... ; };

destination <название_приёмника>
{
destdriver параметры;
destdriver параметры;
...
};

History of edits (Latest: morbo 2 years, 11 months ago) §

* file <filename> - writes messages to the given file

* file <имя_файла> - записывать сообщения в заданный файл

History of edits (Latest: morbo 2 years, 11 months ago) §

* unix-dgram <filename> - writes messages to the given AF_UNIX, SOCK_DGRAM socket (BSDi style)

* unix-dgram <имя_файла> - записывать сообщения в заданный сокет AF_UNIX, SOCK_DGRAM (стиль BSDi)

History of edits (Latest: morbo 2 years, 11 months ago) §

* unix-stream <filename> - writes messages to the given AF_UNIX, SOCK_STREAM socket (Linux style)

* unix-stream <имя_файла> - записыватьть сообщения в заданный сокет AF_UNIX, SOCK_STREAM (стиль Linux)

History of edits (Latest: morbo 2 years, 11 months ago) §

* udp <ip>,<port> - network destination using the UDP protocol

* udp <IP-адрес>,<порт> - сетевой приёмник, используя протокол UDP

History of edits (Latest: morbo 2 years, 11 months ago) §

* tcp <ip>,<port> - network destination using the TCP protocol

* tcp <IP-адрес>,<порт> - сетевой приёмник, использующий протокол TCP

History of edits (Latest: morbo 2 years, 11 months ago) §

* usertty <username> - sends log to the given user's terminal

* usertty <имя_пользователя> - отправлять журнал на терминал пользователя

History of edits (Latest: morbo 2 years, 11 months ago) §

FILTERS

ФИЛЬТРЫ

History of edits (Latest: morbo 2 years, 11 months ago) §

You can create filters using the filter keyword:

Вы можете создать фильтры с помощью ключевого слова "filter":

History of edits (Latest: morbo 2 years, 11 months ago) §

filter <filtername> { expression; };

filter <название_фильтра>
{
выражение;
};

History of edits (Latest: morbo 2 years, 11 months ago) §

Where expression is a simple boolean expression. You can use "and", "or" and "not" to connect builtin functions. Functions can be one of:

Где выражение - это простое булево выражение. Вы можете использовать "and", "or" и "not" для подключения встроенных функций. Функции могут быть следующими:

History of edits (Latest: morbo 2 years, 11 months ago) §

* facility(list of comma seperated facility names)

* facility(список разделённых запятыми средств)

History of edits (Latest: morbo 2 years, 11 months ago) §

* level(list of comma seperated priority nammes OR a range separated by "..")

* level(список разделённых запятыми названий приоритетов ИЛИ диапазон разделённый "..")

History of edits (Latest: morbo 2 years, 11 months ago) §

* program(regexp to match program name)

* program(регулярное выражение для совпадения с именем программы)

History of edits (Latest: morbo 2 years, 11 months ago) §
Pages: ← previous Ctrl next
1 2 3