Skip to content

Commit 1085f0f

Browse files
committed
A lot more macroname corrections
Signed-off-by: mrgarris0n <gergely.karacsonyi@gmail.com>
1 parent 627d326 commit 1085f0f

File tree

42 files changed

+79
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+79
-79
lines changed

_includes/doc/admin-guide/options/host-override.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
| Type: | string|
44
| Default: ||
55

6-
*Description:* Replaces the ${HOST} part of the message with the
6+
*Description:* Replaces the HOST part of the message with the
77
parameter string.

_includes/doc/admin-guide/options/source-flags.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
5656
- *no-hostname*: Enable the no-hostname flag if the log message does
5757
not include the hostname of the sender host. That way {{ site.product.short_name }}
58-
assumes that the first part of the message header is ${PROGRAM}
59-
instead of ${HOST}. For example:
58+
assumes that the first part of the message header is PROGRAM
59+
instead of HOST. For example:
6060
6161
```config
6262
source s_dell {

doc/_admin-guide/020_The_concepts_of_syslog-ng/004_Timezones_and_daylight_saving.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ includes timezone information. That way you do not need to adjust the
8888
recv-time-zone() parameter of syslog-ng.
8989

9090
If you want {{ site.product.short_name }} to output timestamps in Unix (POSIX) time format,
91-
use the `S_UNIXTIME` and `R_UNIXTIME` macros. You do not need to
91+
use the ${S_UNIXTIME} and ${R_UNIXTIME} macros. You do not need to
9292
change any of the timezone related parameters, because the timestamp
9393
information of incoming messages is converted to Unix time internally,
9494
and Unix time is a timezone-independent time representation. (Actually,

doc/_admin-guide/060_Sources/140_Python/001_Python_logmessage_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ from syslogng import LogMessage
1818
# Initialize an empty message with default values (recvd timestamp, rcptid, hostid, ...)
1919
msg = LogMessage()
2020

21-
# Initialize a message and set its ${MESSAGE} field to the specified argument
21+
# Initialize a message and set its MESSAGE field to the specified argument
2222
msg = LogMessage("string or bytes-like object")
2323
```
2424

doc/_admin-guide/060_Sources/150_snmptrap/000_snmptrap_options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Default value: .snmp. option.
3030
*Description:* The snmptrap() source automatically parses the traps into
3131
name-value pairs, so you can handle the content of the trap as a
3232
structured message. Consequently, you might not even need the
33-
`${MESSAGE}` part of the log message. If set-message-macro() is set to
34-
**no**, {{ site.product.short_name }} leaves the `${MESSAGE}` part empty. If
33+
MESSAGE part of the log message. If set-message-macro() is set to
34+
**no**, {{ site.product.short_name }} leaves the MESSAGE part empty. If
3535
set-message-macro() is set to **yes**, {{ site.product.short_name }} generates a regular
3636
log message from the trap.

doc/_admin-guide/060_Sources/220_unix-stream_unix-dgram/000_Unix_credentials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ command). Similar information is available for the
1818
| ${.unix.exe} | The path of the executable belonging to the PID that sent the message. For example, /usr/bin/su |
1919
| ${.unix.gid} | The group ID (GID) corresponding to the UID of the application that sent the log message. Note that this is the ID number of the group, not its human-readable name. For example, 0 |
2020
| ${.unix.pid} | The process ID (PID) of the application that sent the log message. For example, 774. |
21-
| | Note that on every UNIX platforms, if the system() source uses sockets, it will overwrite the PID macro with the value of ${.unix.pid}, if it is available. |
21+
| | Note that on every UNIX platforms, if the system() source uses sockets, it will overwrite the ${PID} macro with the value of ${.unix.pid}, if it is available. |
2222
| ${.unix.uid} | The user ID (UID) of the application that sent the log message. Note that this is the ID number of the user, not its human-readable name. For example, 0 |

doc/_admin-guide/070_Destinations/220_Riemann/000_Riemann_options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ destination d_riemann {
128128
*Description:* The numeric value to add as the metric field of the
129129
Riemann event. If possible, include type-hinting as well, otherwise the
130130
Riemann server will interpret the value as a floating-point number. The
131-
following example specifies the SEQNUM macro as an integer.
131+
following example specifies the ${SEQNUM} macro as an integer.
132132

133133
```config
134134
metric(int("${SEQNUM}"))

doc/_admin-guide/070_Destinations/220_Riemann/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ riemann(
2222

2323
### Example: Using the riemann() driver
2424

25-
The following destination sends the value of the SEQNUM macro (the
25+
The following destination sends the value of the ${SEQNUM} macro (the
2626
number of messages sent to this destination) as a metric to the Riemann
2727
server.
2828

doc/_admin-guide/070_Destinations/250_snmp/000_Converting_Cisco_messages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ the Cisco website.
3434
3535
## Parsing Cisco-specific message fields with patterndb
3636
37-
The ${PROGRAM} part of the syslog messages sent by Cisco devices
37+
The PROGRAM part of the syslog messages sent by Cisco devices
3838
contain not only the program name, but other important protocol
39-
information part as well. The ${PROGRAM} of these messages contains the
39+
information part as well. The PROGRAM of these messages contains the
4040
Facility, Severity, and the Mnemonic (the Cisco name) of the message.
4141
The following pattern database parses these values and makes them
4242
available as the .cisco.Facility, .cisco.Severity, and .cisco.MsgName,

doc/_admin-guide/070_Destinations/300_syslog/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ destination d_syslog_tls {
7070
```
7171

7272
**NOTE:** If a message uses the IETF-syslog format (RFC-5424), only the text
73-
of the message can be customized (that is, the ${MESSAGE} part of the
73+
of the message can be customized (that is, the MESSAGEs part of the
7474
log), the structure of the header is fixed.
7575
{: .notice--info}

0 commit comments

Comments
 (0)