Skip to content

Commit 9385a91

Browse files
authored
Document ${HOSTID} macro in syslog-ng
Added documentation for the ${HOSTID} macro, including its definition and usage. Signed-off-by: Hofi <hofione@gmail.com>
1 parent bac76b8 commit 9385a91

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/_admin-guide/110_Template_and_rewrite/000_Customize_message_format/004_Macros_of_syslog-ng.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ format. See also the ${AMPM} macro. 12AM is midnight. Available in
121121

122122
{% include doc/admin-guide/host-macro.md macro = '${HOST}' from = '${HOST_FROM}' %}
123123

124+
## ${HOSTID}
125+
126+
The HOSTID is a persistent, 32-bits-long cryptographically secure pseudo random number,
127+
that belongs to the host that the syslog-ng OSE is running on. If the
128+
persist file is damaged, the HOSTID might change. For more about its usage, see
129+
use-uniqid(), ${UNIQID} and ${RCPTID}.
130+
124131
## ${HOST_FROM}
125132

126133
{% include doc/admin-guide/host-from-macro.md macro = '${HOST}' from = '${HOST_FROM}' %}

0 commit comments

Comments
 (0)