Skip to content

Commit b5d950f

Browse files
authored
Introduction variables for product name (#65)
In _config.yml two variables were introduced under "product" key: - "name" for "syslog-ng Open Source Edition" - "short_name" for "syslog-ng OSE" You can refer them in markdown as **{{ site.product.name }}** and **{{ site.product.short_name }}**, respectively. Please use them if you have to refer to syslog-ng OSE. External link texts don't have to be adjusted. All instances of "syslog-ng OSE", and "syslog-ng Open Source Edition" texts were replaced with the variables above. All instances of "syslog-ng" texts were replaced with short_name (where it was applicable). Possible known issue: see #61 , will fix title links in a separate PR.
2 parents 4ea7b35 + 4904975 commit b5d950f

File tree

472 files changed

+2388
-2434
lines changed

Some content is hidden

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

472 files changed

+2388
-2434
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- DO NOT ADD frontmatter, this belongs to the GitHub repository only -->
22

3-
# Welcome to the syslog-ng documentation center source repository
3+
# Welcome to the syslog-ng OSE documentation center source repository
44

55
[gh:gh-doc-pages]: https://syslog-ng.github.io/doc/
66
[gh:gh-syslog-ng-doc-issue-tracker]: https://github.com/syslog-ng/doc/issues
@@ -9,15 +9,15 @@
99
[ref:admin-guide]: doc/_admin-guide
1010
[ref:dev-guide]: doc/_dev-guide
1111

12-
Here you can browse, search and contribute to most of the syslog-ng documentation.
12+
Here you can browse, search and contribute to most of the syslog-ng OSE documentation.
1313

1414
## [Documentation guide][ref:doc-guide]
1515

1616
If you would like to help us to make our documentation better, this is [how to contribute][ref:doc-guide-contrib].
1717

18-
## [Administrator guide][ref:admin-guide]
18+
## [Administration guide][ref:admin-guide]
1919

20-
This repository part contains the source code of `The syslog-ng Open Source Edition Administration Guide`.
20+
This repository part contains the source code of `The syslog-ng OSE Administration Guide`.
2121

2222
## [Developer guide][ref:dev-guide]
2323

_config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,7 @@ masthead:
242242

243243
footer:
244244
top_margin: 2em # originally 3em, needed if there are visible prev/next navigator buttons
245+
246+
product:
247+
name: 'syslog-ng Open Source Edition'
248+
short_name: 'syslog-ng OSE'

_data/external_links.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
bb-syslog-ng-mail-list:
2121
id: bb-syslog-ng-mail-list
2222
url: https://lists.balabit.hu/mailman/listinfo/syslog-ng
23-
title: [ "syslog-ng mailing list" ]
23+
title: [ "syslog-ng OSE mailing list" ]
2424

2525
gh-pages:
2626
id: gh-pages
2727
url: https://syslog-ng.github.io
28-
title: [ "syslog-ng documentation center" ]
28+
title: [ "syslog-ng OSE documentation center" ]
2929

3030
gh-syslog-ng:
3131
id: gh-syslog-ng
@@ -35,17 +35,17 @@ gh-syslog-ng:
3535
gh-syslog-ng-doc:
3636
id: gh-syslog-ng-doc
3737
url: https://github.com/syslog-ng/syslog-ng.github.io
38-
title: [ "syslog-ng Doc on GitHub" ]
38+
title: [ "syslog-ng OSE Doc on GitHub" ]
3939

4040
gh-syslog-ng-doc-issue-tracker:
4141
id: gh-syslog-ng-doc-issue-tracker
4242
url: https://github.com/syslog-ng/syslog-ng.github.io/issues
43-
title: [ "syslog-ng documentation issue tracker on GitHub" ]
43+
title: [ "syslog-ng OSE documentation issue tracker on GitHub" ]
4444

4545
gh-syslog-ng-issue-tracker:
4646
id: gh-syslog-ng-issue-tracker
4747
url: https://github.com/syslog-ng/syslog-ng/issues
48-
title: [ "syslog-ng issue tracker on GitHub" ]
48+
title: [ "syslog-ng OSE issue tracker on GitHub" ]
4949

5050
oi-sn-pe:
5151
id: oi-sn-pe
@@ -80,7 +80,7 @@ sn-con-sup:
8080
sn-docker:
8181
id: sn-docker
8282
url: https://syslog-ng.com/blog/central-log-server-docker/
83-
title: [ "syslog-ng docker image" ]
83+
title: [ "syslog-ng OSE docker image" ]
8484

8585
sn-docker-log:
8686
id: sn-docker-log
@@ -110,7 +110,7 @@ sn-prod-binaries-dl:
110110
sn-selinux:
111111
id: sn-selinux
112112
url: https://syslog-ng.com/blog/using-syslog-ng-with-selinux-in-enforcing-mode/
113-
title: [ "Using syslog-ng with SELinux in enforcing mode" ]
113+
title: [ "Using syslog-ng OSE with SELinux in enforcing mode" ]
114114

115115

116116
### One Identity site links ###
@@ -1059,7 +1059,7 @@ slack-web-api:
10591059
slack-webhook-doc:
10601060
id: slack-webhook-doc
10611061
url: https://api.slack.com/incoming-webhooks
1062-
title: [ "Slack documentation" ]
1062+
title: [ "Slack webhook documentation" ]
10631063

10641064
sn-graphite:
10651065
id: sn-graphite

_includes/doc/admin-guide/batch-size.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
## Batch size
22

33
The batch-bytes(), batch-lines(), and batch-timeout() options of the
4-
destination determine how many log messages syslog-ng OSE sends in a
4+
destination determine how many log messages {{ site.product.short_name }} sends in a
55
batch. The batch-lines() option determines the maximum number of
6-
messages syslog-ng OSE puts in a batch in. This can be limited based on
6+
messages {{ site.product.short_name }} puts in a batch in. This can be limited based on
77
size and time:
88

9-
- syslog-ng OSE sends a batch every batch-timeout() milliseconds, even
9+
- {{ site.product.short_name }} sends a batch every batch-timeout() milliseconds, even
1010
if the number of messages in the batch is less than batch-lines().
1111
That way the destination receives every message in a timely manner
1212
even if suddenly there are no more messages.
1313

14-
- syslog-ng OSE sends the batch if the total size of the messages in
14+
- {{ site.product.short_name }} sends the batch if the total size of the messages in
1515
the batch reaches batch-bytes() bytes.
1616

1717
To increase the performance of the destination, increase the number of

_includes/doc/admin-guide/facility-severity.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ The possible Facility values (between 0 and 23) and Severity values
22
(between 0 and 7) each correspond to a message type (see **Table 1: syslog Message Facilities**), or a message importance level (see **Table 2:** syslog Message Severities).
33

44
**NOTE:** Facility codes may slightly vary between different platforms. The
5-
syslog-ng Open Source Edition (syslog-ng OSE) application accepts
5+
{{ site.product.short_name }} application accepts
66
Facility codes as numerical values as well.
77
{: .notice--info}
88

99
The following table lists possible Facility values.
1010

11-
**Table 1:** syslog-ng message facilities
11+
**Table 1:** {{ site.product.short_name }} message facilities
1212

1313
|Numerical Code| Facility|
1414
|-----------------|--------|
@@ -30,7 +30,7 @@ The following table lists possible Facility values.
3030
|15 |clock daemon|
3131
|16-23 |locally used facilities (local0-local7)|
3232

33-
**Table 2:** syslog-ng message severities
33+
**Table 2:** {{ site.product.short_name }} message severities
3434

3535
The following table lists possible Severity values.
3636

Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
The FQDN of the host that sent the message to syslog-ng
2-
as resolved by syslog-ng using DNS. If the message traverses several
2+
as resolved by {{ site.product.short_name }} using DNS. If the message traverses several
33
hosts, this is the last host in the chain.
44

5-
The syslog-ng OSE application uses the following procedure to determine
5+
The {{ site.product.short_name }} application uses the following procedure to determine
66
the value of the {{ include.from }} macro:
77

8-
1. The syslog-ng OSE application takes the IP address of the host
8+
1. The {{ site.product.short_name }} application takes the IP address of the host
99
sending the message.
1010

11-
2. If the use-dns() option is enabled, syslog-ng OSE attempts to
11+
2. If the use-dns() option is enabled, {{ site.product.short_name }} attempts to
1212
resolve the IP address to a hostname. If it succeeds, the returned
1313
hostname will be the value of the {{ include.from }} macro. This value
1414
will be the FQDN of the host if the use-fqdn() option is enabled,
@@ -18,5 +18,5 @@ the value of the {{ include.from }} macro:
1818
fails, the {{ include.from }} macro will return the IP address of
1919
the sender host.
2020

21-
For details on using name resolution in syslog-ng OSE, see
21+
For details on using name resolution in {{ site.product.short_name }}, see
2222
Using name resolution in syslog-ng.

_includes/doc/admin-guide/host-macro.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The name of the source host where the message originates from.
77
- If the keep-hostname() option is disabled
88
(**keep-hostname(no)**), the value of the {{ include.macro }} macro
99
will be the DNS hostname of the host that sent the message to
10-
syslog-ng OSE (that is, the DNS hostname of the last hop). In this
10+
{{ site.product.short_name }} (that is, the DNS hostname of the last hop). In this
1111
case the {{ include.macro }} and {{ include.from }} macros will have the same
1212
value.
1313

@@ -23,5 +23,5 @@ The name of the source host where the message originates from.
2323
hostname.
2424
{: .notice--info}
2525

26-
For details on using name resolution in syslog-ng OSE, see
26+
For details on using name resolution in {{ site.product.short_name }}, see
2727
Using name resolution in syslog-ng.

_includes/doc/admin-guide/load-balancing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Starting with version 3.19, you can specify multiple URLs, for example,
2-
url("site1" "site2"). In this case, syslog-ng OSE sends log messages
2+
url("site1" "site2"). In this case, {{ site.product.short_name }} sends log messages
33
to the specified URLs in a load-balance fashion. This means that
4-
syslog-ng OSE sends each message to only one URL. For example, you can
4+
{{ site.product.short_name }} sends each message to only one URL. For example, you can
55
use this to send the messages to a set of ingestion nodes or indexers of
66
your SIEM solution if a single node cannot handle the load. Note that
77
the order of the messages as they arrive on the servers can differ from
8-
the order syslog-ng OSE has received them, so use load-balancing only if
8+
the order {{ site.product.short_name }} has received them, so use load-balancing only if
99
your server can use the timestamp from the messages. If the server uses
1010
the timestamp when it receives the messages, the order of the messages
1111
will be incorrect.
@@ -15,7 +15,7 @@ If you set multiple URLs in the url() option, set the **persist-name()**
1515
option as well to avoid data loss.
1616
{: .notice--warning}
1717

18-
Starting with version syslog-ng OSE version 3.22, you can use any of the
18+
Starting with version {{ site.product.short_name }} version 3.22, you can use any of the
1919
following formats to specify multiple URLs:
2020

2121
```config
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## See also
22

33
The syslog-ng.conf manual page
4-
The syslog-ng manual page
4+
The {{ site.product.short_name }} manual page
55

66
>**NOTE:**
7-
>If you experience any problems or need help with syslog-ng OSE, visit
8-
>the syslog-ng mailing list.
7+
>If you experience any problems or need help with {{ site.product.short_name }}, visit
8+
>the {{ site.product.short_name }} mailing list.
99
>
10-
>For news and notifications about syslog-ng OSE, visit the syslog-ng blogs.
10+
>For news and notifications about {{ site.product.short_name }}, visit the syslog-ng blogs.
1111
{: .notice--info}
+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
**NOTE:** The {{ page.app }} application is distributed with the syslog-ng OSE
3-
system logging application, and is usually part of the syslog-ng OSE
4-
package. The latest version of the syslog-ng OSE application is
5-
available at the syslog-ng OSE page.
2+
**NOTE:** The {{ page.app }} application is distributed with the {{ site.product.short_name }}
3+
system logging application, and is usually part of the {{ site.product.short_name }}
4+
package. The latest version of the {{ site.product.short_name }} application is
5+
available at the {{ site.product.short_name }} page.
66
{: .notice--info}
77

88
This manual page is only an abstract.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**NOTE:** To convert match variables into a syslog-ng OSE list, use the $\*
1+
**NOTE:** To convert match variables into a {{ site.product.short_name }} list, use the $\*
22
macro, which can be further manipulated using List manipulation,
33
or turned into a list in type-aware destinations.
44
{: .notice--info}

_includes/doc/admin-guide/notes/kafka-c.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
mandatory. While you can specify everything in the config() option if
33
you want, the properties-file() is optional. If you have an option in
44
both the config() and the properties-file() specified, the option
5-
specified later in the syslog-ng OSE configuration file will prevail.
5+
specified later in the {{ site.product.short_name }} configuration file will prevail.
66
{: .notice--info}
77

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
**NOTE:** If the specified parameter value is not a valid value, the
2-
function ignores it and sends a debug message. However, the syslog-ng
3-
Open Source Edition (syslog-ng OSE) application will still send the
2+
function ignores it and sends a debug message. However, the ({{ site.product.short_name }} application will still send the
43
message.
54
{: .notice--info}

_includes/doc/admin-guide/notes/python-arrow.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
>**NOTE:** From version 3.27, syslog-ng OSE supports the arrow syntax for
1+
>**NOTE:** From version 3.27, {{ site.product.short_name }} supports the arrow syntax for
22
>declaring custom Java and Python options. You can alternatively declare
33
>them using a similar syntax:
44
>

_includes/doc/admin-guide/notes/python-persist.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
>**NOTE:** Starting with 3.26, syslog-ng OSE assigns a persist name to Python sources and
1+
>**NOTE:** Starting with 3.26, {{ site.product.short_name }} assigns a persist name to Python sources and
22
>destinations. The persist name is generated from the class name.
33
>If you want to use the
4-
>same Python class multiple times in your syslog-ng OSE configuration, add a unique
5-
>persist-name() to each source or destination, otherwise syslog-ng OSE will not start.
4+
>same Python class multiple times in your {{ site.product.short_name }} configuration, add a unique
5+
>persist-name() to each source or destination, otherwise {{ site.product.short_name }} will not start.
66
>
77
>For example:
88
>

_includes/doc/admin-guide/options/batch-bytes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
|Default:| {{ page.batch_bytes | default: 'none'}} |
55

66
*Description:* Sets the maximum size of payload in a batch. If the size
7-
of the messages reaches this value, syslog-ng OSE sends the batch to the
7+
of the messages reaches this value, {{ site.product.short_name }} sends the batch to the
88
destination even if the number of messages is less than the value of the
99
batch-lines() option.
1010

1111
Note that if the batch-timeout() option is enabled and the queue becomes
12-
empty, syslog-ng OSE flushes the messages only if batch-timeout()
12+
empty, {{ site.product.short_name }} flushes the messages only if batch-timeout()
1313
expires, or the batch reaches the limit set in batch-bytes().
1414

15-
Available in syslog-ng OSE version 3.19 and later.
15+
Available in {{ site.product.short_name }} version 3.19 and later.

_includes/doc/admin-guide/options/batch-lines.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,24 @@
44
|Default:| {{ page.batch_lines | default:'1' }}|
55

66
*Description:* Specifies how many lines are flushed to a destination in
7-
one batch. The syslog-ng OSE application waits for this number of lines
7+
one batch. The {{ site.product.short_name }} application waits for this number of lines
88
to accumulate and sends them off in a single batch. Increasing this
99
number increases throughput as more messages are sent in a single batch,
1010
but also increases message latency.
1111

12-
For example, if you set batch-lines() to 100, syslog-ng OSE waits for
12+
For example, if you set batch-lines() to 100, {{ site.product.short_name }} waits for
1313
100 messages.
1414

15-
If the batch-timeout() option is disabled, the syslog-ng OSE application
15+
If the batch-timeout() option is disabled, the {{ site.product.short_name }} application
1616
flushes the messages if it has sent batch-lines() number of messages, or
17-
the queue became empty. If you stop or reload syslog-ng OSE or in case
18-
of network sources, the connection with the client is closed, syslog-ng
19-
OSE automatically sends the unsent messages to the destination.
17+
the queue became empty. If you stop or reload {{ site.product.short_name }} or in case
18+
of network sources, the connection with the client is closed, {{ site.product.short_name }} automatically sends the unsent messages to the destination.
2019

2120
Note that if the batch-timeout() option is enabled and the queue becomes
22-
empty, syslog-ng OSE flushes the messages only if batch-timeout()
21+
empty, {{ site.product.short_name }} flushes the messages only if batch-timeout()
2322
expires, or the batch reaches the limit set in batch-lines().
2423

25-
For optimal performance, make sure that the syslog-ng OSE source that
24+
For optimal performance, make sure that the {{ site.product.short_name }} source that
2625
feeds messages to this destination is configured properly: the value of
2726
the log-iw-size() option of the source must be higher than the
2827
batch-lines()\*workers() of the destination. Otherwise, the size of the

_includes/doc/admin-guide/options/batch-timeout.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
| Type:| time in milliseconds|
44
|Default:| {{ page.batch_timeout | default: '-1 (disabled)' }}|
55

6-
*Description:* Specifies the time syslog-ng OSE waits for lines to
7-
accumulate in the output buffer. The syslog-ng OSE application sends
6+
*Description:* Specifies the time {{ site.product.short_name }} waits for lines to
7+
accumulate in the output buffer. The {{ site.product.short_name }} application sends
88
batches to the destinations evenly. The timer starts when the first
9-
message arrives to the buffer, so if only few messages arrive, syslog-ng
10-
OSE sends messages to the destination at most once every batch-timeout()
9+
message arrives to the buffer, so if only few messages arrive, {{ site.product.short_name }} sends messages to the destination at most once every batch-timeout()
1110
milliseconds.

_includes/doc/admin-guide/options/ca-dir.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
certificates in PEM format. The CA certificate files have to be named
88
after the 32-bit hash of the subject\'s name. This naming can be created
99
using the c\_rehash utility in openssl. For an example, see
10-
Configuring TLS on the syslog-ng clients.
11-
The syslog-ng OSE application uses the CA
10+
Configuring TLS on the {{ site.product.short_name }} clients.
11+
The {{ site.product.short_name }} application uses the CA
1212
certificates in this directory to validate the certificate of the peer.
1313

1414
This option can be used together with the optional ca-file() option.
1515

16-
**NOTE:** During a TLS handshake, syslog-ng OSE automatically sets the
16+
**NOTE:** During a TLS handshake, {{ site.product.short_name }} automatically sets the
1717
`certificate_authorities` field of the certificate request based on the `ca-file()`
1818
and `ca-dir()` options.
1919
{: .notice--info}

_includes/doc/admin-guide/options/ca-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
|Default:| empty|
55

66
*Description:* Optional. The name of a file that contains a set of
7-
trusted CA certificates in PEM format. The syslog-ng OSE application
7+
trusted CA certificates in PEM format. The {{ site.product.short_name }} application
88
uses the CA certificates in this file to validate the certificate of the
99
peer.
1010

@@ -19,7 +19,7 @@ option, and it is relevant when peer-verify() is set to other than no or
1919
`optional-untrusted`.
2020
{: .notice--info}
2121

22-
**NOTE:** During a TLS handshake, syslog-ng OSE automatically sets the
22+
**NOTE:** During a TLS handshake, {{ site.product.short_name }} automatically sets the
2323
`certificate_authorities` field of the certificate request based on the `ca-file()`
2424
and `ca-dir()` options.
2525
{: .notice--info}

_includes/doc/admin-guide/options/cert-file.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
*Description:* Name of a file, that contains an X.509 certificate (or a
77
certificate chain) in PEM format, suitable as a TLS certificate,
8-
matching the private key set in the key-file() option. The syslog-ng OSE
9-
application uses this certificate to authenticate the syslog-ng OSE
8+
matching the private key set in the key-file() option. The {{ site.product.short_name }}
9+
application uses this certificate to authenticate the {{ site.product.short_name }}
1010
client on the destination server. If the file contains a certificate
1111
chain, the file must begin with the certificate of the host, followed by
1212
the CA certificate that signed the certificate of the host, and any

0 commit comments

Comments
 (0)