You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Description:* The hour of day the message was sent in 12-hour clock format. See also the [`${AMPM}`]({{< relref "/chapter-manipulating-messages/customizing-message-format/reference-macros/_index.md" >}}) macro. 12AM is midnight. Available in {{% param "product.abbrev" %}} 3.4 and later.
85
+
*Description:* The hour of day the message was sent in 12-hour clock format. See also the [`${AMPM}`]({{< relref "/chapter-manipulating-messages/customizing-message-format/reference-macros/_index.md" >}}) macro. 12AM is midnight. Available in {{% param "product.abbrev" %}} 3.4 and later. {{% include-headless "chunk/macro-date-ref.md" %}}
86
86
87
87
## HOST {#macro-host}
88
88
@@ -116,13 +116,13 @@ The IP protocol version used to retrieve or receive the message. Contains either
*Description:* Date of the message in the ISO 8601 compatible standard timestamp format (`yyyy-mm-ddThh:mm:ss+-ZONE`), for example: `2006-06-13T15:58:00.123+01:00`. If possible, it is recommended to use `${ISODATE}` for timestamping. Note that AxoSyslog can produce fractions of a second (for example, milliseconds) in the timestamp by using the `frac-digits()` global or per-destination option.
119
+
*Description:* Date of the message in the ISO 8601 compatible standard timestamp format (`yyyy-mm-ddThh:mm:ss+-ZONE`), for example: `2006-06-13T15:58:00.123+01:00`. If possible, it is recommended to use `${ISODATE}` for timestamping. Note that AxoSyslog can produce fractions of a second (for example, milliseconds) in the timestamp by using the `frac-digits()` global or per-destination option. {{% include-headless "chunk/macro-date-ref.md" %}}
*Description:* The number of week according to the ISO 8601 standard. Note that the `${WEEK}` macro that has been available in returns a non-standard week number that can differ from the value returned by the `${ISOWEEK}` macro.
125
+
*Description:* The number of week according to the ISO 8601 standard. Note that the `${WEEK}` macro that has been available in returns a non-standard week number that can differ from the value returned by the `${ISOWEEK}` macro. {{% include-headless "chunk/macro-date-ref.md" %}}
126
126
127
127
Available in 3.24 and later.
128
128
@@ -153,19 +153,19 @@ Note that before AxoSyslog version 3.0, the `${MESSAGE}` macro included the prog
*Description:* The number of the week in the given month (0-5). The week with numerical value 1 is the first week containing a Monday. The days of month before the first Monday are considered week 0. For example, if a 31-day month begins on a Sunday, then the 1st of the month is week 0, and the end of the month (the 30th and 31st) is week 5.
164
+
*Description:* The number of the week in the given month (0-5). The week with numerical value 1 is the first week containing a Monday. The days of month before the first Monday are considered week 0. For example, if a 31-day month begins on a Sunday, then the 1st of the month is week 0, and the end of the month (the 30th and 31st) is week 5. {{% include-headless "chunk/macro-date-ref.md" %}}
165
165
166
166
## MSEC, C_MSEC, R_MSEC, S_MSEC {#macro-msec}
167
167
168
-
*Description:* The millisecond the message was sent.
168
+
*Description:* The millisecond the message was sent. {{% include-headless "chunk/macro-date-ref.md" %}}
169
169
170
170
Available in {{% param "product.abbrev" %}} version 3.4 and later.
171
171
@@ -318,7 +318,7 @@ Available in {{% param "product.abbrev" %}} 4.10 and later.
318
318
319
319
## STAMP, R_STAMP, S_STAMP {#macro-stamp}
320
320
321
-
*Description:* A timestamp formatted according to the [`ts-format()`]({{< relref "/chapter-global-options/reference-options/_index.md" >}}) global or per-destination option.
321
+
*Description:* A timestamp formatted according to the [`ts-format()`]({{< relref "/chapter-global-options/reference-options/_index.md" >}}) global or per-destination option. {{% include-headless "chunk/macro-date-ref.md" %}}
322
322
323
323
## SYSUPTIME {#macro-sysuptime}
324
324
@@ -408,7 +408,7 @@ Available in {{% param "product.abbrev" %}} version 3.7 and later.
408
408
409
409
## USEC, C_USEC, R_USEC, S_USEC {#macro-usec}
410
410
411
-
*Description:* The microsecond the message was sent.
411
+
*Description:* The microsecond the message was sent. {{% include-headless "chunk/macro-date-ref.md" %}}
412
412
413
413
Available in {{% param "product.abbrev" %}} version 3.4 and later.
414
414
@@ -418,16 +418,16 @@ Available in {{% param "product.abbrev" %}} version 3.4 and later.
*Description:* The 3-letter English abbreviation of the name of the day the message was sent, for example, `Thu`.
421
+
*Description:* The 3-letter English abbreviation of the name of the day the message was sent, for example, `Thu`. {{% include-headless "chunk/macro-date-ref.md" %}}
*Description:* These macros are deprecated, use [${WEEK_DAY_ABBREV}, ${R_WEEK_DAY_ABBREV}, ${S_WEEK_DAY_ABBREV}]({{< relref "/chapter-manipulating-messages/customizing-message-format/reference-macros/_index.md" >}}) instead. The 3-letter name of the day of week the message was sent, for example, `Thu`.
429
+
*Description:* These macros are deprecated, use [${WEEK_DAY_ABBREV}, ${R_WEEK_DAY_ABBREV}, ${S_WEEK_DAY_ABBREV}]({{< relref "/chapter-manipulating-messages/customizing-message-format/reference-macros/_index.md" >}}) instead. The 3-letter name of the day of week the message was sent, for example, `Thu`. {{% include-headless "chunk/macro-date-ref.md" %}}
Copy file name to clipboardExpand all lines: content/headless/chunk/macro-date.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,5 +4,4 @@
4
4
5
5
## DATE, C_DATE, R_DATE, S_DATE
6
6
7
-
*Description:* Date of the message using the BSD-syslog style timestamp format (month/day/hour/minute/second, each expressed in two digits). This is the original syslog time stamp without year information, for example: `Jun 13 15:58:00`.
8
-
7
+
*Description:* Date of the message using the BSD-syslog style timestamp format (month/day/hour/minute/second, each expressed in two digits). This is the original syslog time stamp without year information, for example: `Jun 13 15:58:00`. {{% include-headless "chunk/macro-date-ref.md" %}}
Copy file name to clipboardExpand all lines: content/headless/chunk/macro-fulldate.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,5 +4,5 @@
4
4
5
5
## FULLDATE, C_FULLDATE, R_FULLDATE, S_FULLDATE
6
6
7
-
*Description:* A nonstandard format for the date of the message using the same format as `${DATE}`, but including the year as well, for example: `2006 Jun 13 15:58:00`.
7
+
*Description:* A nonstandard format for the date of the message using the same format as `${DATE}`, but including the year as well, for example: `2006 Jun 13 15:58:00`. {{% include-headless "chunk/macro-date-ref.md" %}}
Copy file name to clipboardExpand all lines: content/headless/chunk/macro-month.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,5 +4,5 @@
4
4
5
5
## MONTH, C_MONTH, R_MONTH, S_MONTH
6
6
7
-
*Description:* The month the message was sent as a decimal value, prefixed with a zero if smaller than 10.
7
+
*Description:* The month the message was sent as a decimal value, prefixed with a zero if smaller than 10. {{% include-headless "chunk/macro-date-ref.md" %}}
0 commit comments