-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some (actually a lot of) missing descriptions to documentation pages. Fixes: #25
- Loading branch information
Showing
200 changed files
with
538 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
doc/_admin-guide/010_Introduction_to_syslog-ng/001_What_syslog-ng_is_not.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
title: What {{ site.product.short_name }} is not | ||
id: adm-intro-whatnot | ||
description: >- | ||
The {{ site.product.short_name }} application is not log analysis software. It can filter | ||
log messages and select only the ones matching certain criteria. It can | ||
even convert the messages and restructure them to a predefined format, | ||
or parse the messages and segment them into different fields. But | ||
{{ site.product.short_name }} cannot interpret and analyze the meaning behind the messages, | ||
or recognize patterns in the occurrence of different messages. | ||
--- | ||
|
||
The {{ site.product.short_name }} application is not log analysis software. It can filter | ||
log messages and select only the ones matching certain criteria. It can | ||
even convert the messages and restructure them to a predefined format, | ||
or parse the messages and segment them into different fields. But | ||
{{ site.product.short_name }} cannot interpret and analyze the meaning behind the messages, | ||
or recognize patterns in the occurrence of different messages. |
9 changes: 5 additions & 4 deletions
9
doc/_admin-guide/010_Introduction_to_syslog-ng/003_Who_uses_syslog-ng.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
doc/_admin-guide/010_Introduction_to_syslog-ng/004_Supported_platforms.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
--- | ||
title: Supported platforms | ||
id: adm-intro-supp | ||
description: >- | ||
The {{ site.product.short_name }} application is highly | ||
portable and is known to run on a wide range of hardware architectures | ||
(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha, ARM64) and operating | ||
systems, including Linux, BSD, Solaris, IBM AIX, HP-UX, macOS, | ||
Cygwin, and others. | ||
--- | ||
|
||
The {{ site.product.short_name }} application is highly | ||
portable and is known to run on a wide range of hardware architectures | ||
(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha, ARM64) and operating | ||
systems, including Linux, BSD, Solaris, IBM AIX, HP-UX, macOS, | ||
Cygwin, and others. | ||
|
||
- The [[source code|gh-syslog-ng]] of {{ site.product.name }} is released under the GPLv2 license | ||
|
||
- For the available binary installation packages, see {{ site.product.name }} installation packages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
title: Introduction to syslog-ng | ||
id: adm-intro | ||
description: >- | ||
This chapter introduces the {{ site.product.name }} application in | ||
a non-technical manner, discussing how and why is it useful, and the | ||
benefits it offers to an existing IT infrastructure. | ||
--- | ||
|
||
This chapter introduces the {{ site.product.name }} application in | ||
a non-technical manner, discussing how and why is it useful, and the | ||
benefits it offers to an existing IT infrastructure. |
2 changes: 2 additions & 0 deletions
2
doc/_admin-guide/020_The_concepts_of_syslog-ng/003_Global_objects.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
doc/_admin-guide/030_Installing_syslog-ng/001_Compiling_options.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
doc/_admin-guide/030_Installing_syslog-ng/002_Uninstalling_syslog-ng.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
doc/_admin-guide/030_Installing_syslog-ng/003_Configuring_MSSQL_server.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
...de/002_Configuring_syslog-ng_relays/000_Configuring_syslog-ng_on_relay_hosts.md
This file was deleted.
Oops, something went wrong.
77 changes: 76 additions & 1 deletion
77
doc/_admin-guide/040_Quick-start_guide/002_Configuring_syslog-ng_relays/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,81 @@ | ||
--- | ||
title: Configuring {{ site.product.short_name }} relays | ||
id: adm-qs-conf | ||
id: adm-qs-relay-conf | ||
description: >- | ||
This section describes how to configure {{ site.product.short_name }} as a relay. | ||
--- | ||
|
||
To configure {{ site.product.short_name }} as a relay, complete the following steps: | ||
|
||
1. Install the {{ site.product.short_name }} application on the host. For details on | ||
installing {{ site.product.short_name }} on specific operating systems, see | ||
Installing syslog-ng. | ||
2. Configure the network sources that collect the log messages sent by | ||
the clients. | ||
|
||
3. Create a network destination that points to the {{ site.product.short_name }} server. | ||
|
||
4. Create a log statement connecting the network sources to the | ||
{{ site.product.short_name }} server. | ||
|
||
5. Configure the local sources that collect the log messages of the | ||
relay host. | ||
|
||
6. Create a log statement connecting the local sources to the syslog-ng | ||
server. | ||
|
||
7. Enable the keep-hostname() and disable the chain-hostnames() | ||
options. (For details on how these options work, see | ||
chain-hostnames() | ||
|
||
**NOTE:** It is recommended to use these options on your {{ site.product.short_name }} | ||
server as well. | ||
{: .notice--info} | ||
|
||
8. Set filters and options (for example, TLS encryption) as necessary. | ||
|
||
**NOTE:** By default, the {{ site.product.short_name }} server will treat the relayed | ||
messages as if they were created by the relay host, not the host | ||
that originally sent them to the relay. In order to use the original | ||
hostname on the {{ site.product.short_name }} server, use the **keep-hostname(yes)** | ||
option both on the {{ site.product.short_name }} relay and the {{ site.product.short_name }} server. This | ||
option can be set individually for every source if needed. | ||
{: .notice--info} | ||
|
||
If you are relaying log messages and want to resolve IP addresses to | ||
hostnames, configure the first relay to do the name resolution. | ||
|
||
Example: A simple configuration for relays | ||
|
||
The following is a simple configuration file that collects local and | ||
incoming log messages and forwards them to a logserver using the | ||
IETF-syslog protocol. | ||
|
||
```config | ||
@version: 3.38 | ||
@include "scl.conf" | ||
options { | ||
time-reap(30); | ||
mark-freq(10); | ||
keep-hostname(yes); | ||
chain-hostnames(no); | ||
}; | ||
source s_local { | ||
system(); internal(); | ||
}; | ||
source s_network { | ||
syslog(transport(tcp)); | ||
}; | ||
destination d_syslog_tcp { | ||
syslog("192.168.1.5" transport("tcp") port(2010)); | ||
}; | ||
log { | ||
source(s_local); source(s_network); | ||
destination(d_syslog_tcp); | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
doc/_admin-guide/050_The_configuration_file/001_Configuration_syntax.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
doc/_admin-guide/050_The_configuration_file/002_Syntax_notes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.