/
githubmirror
/
rsyslog
Обзор
Документация
Войти
/
githubmirror
/
rsyslog
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
doc/source/reference/properties/message-inputname.rst
48 строк
1 KB
Rainer Gerhards
doc: split property documentation into separate files
27 сен 2025, 15:17
Не верифицирован
27 сен 2025, 15:17
212e6a8
Код
Авторство
О чём код?
.. _prop-message-inputname: .. _properties.message.inputname: inputname ========= .. index:: single: properties; inputname single: inputname .. summary-start Identifies the rsyslog input module instance that produced the message. .. summary-end This property belongs to the **Message Properties** group. :Name: inputname :Category: Message Properties :Type: string Description ----------- The name of the input module that generated the message (e.g. "imuxsock", "imudp"). Note that not all modules necessarily provide this property. If not provided, it is an empty string. Also note that the input module may provide any value of its liking. Most importantly, it is **not** necessarily the module input name. Internal sources can also provide inputnames. Currently, "rsyslogd" is defined as inputname for messages internally generated by rsyslogd, for example startup and shutdown and error messages. This property is considered useful when trying to filter messages based on where they originated - e.g. locally generated messages ("rsyslogd", "imuxsock", "imklog") should go to a different place than messages generated somewhere else. Usage ----- .. _properties.message.inputname-usage: .. code-block:: rsyslog template(name="example" type="list") { property(name="inputname") } See also -------- See :doc:`../../configuration/properties` for the category overview.