Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting fixes on the main destinations page #76

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions content/chapter-destinations/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ To define a destination, add a destination statement to the `syslog-ng.conf` con
};
```

Note the following points:

- Do not define the same drivers with the same parameters more than once, because it will cause problems. For example, do not open the same file in multiple destinations.
- Do not use the same destination in different log paths, because it can cause problems with most destination types. Instead, use filters and log paths to avoid such situations.
- {{< include-headless "chunk/para-initializing-sources-destinations.md" >}}

## Example: A simple destination statement

Expand All @@ -39,17 +44,4 @@ If name resolution is configured, you can use the hostname of the target server
};
```


{{% alert title="Warning" color="warning" %}}

- Do not define the same drivers with the same parameters more than once, because it will cause problems. For example, do not open the same file in multiple destinations.

- Do not use the same destination in different log paths, because it can cause problems with most destination types. Instead, use filters and log paths to avoid such situations.

- {{< include-headless "chunk/para-initializing-sources-destinations.md" >}}

{{% /alert %}}

The following table lists the destination drivers available in {{% param "product.abbrev" %}}. If these destinations do not satisfy your needs, you can extend {{% param "product.abbrev" %}} and write your own destination, for example, in C, Java, or Python. For details, see {{% xref "/chapter-destinations/reference-destination-custom/_index.md" %}}.

The following destination driver groups are available in {{% param "product.abbrev" %}}:
The following destination drivers are available in {{% param "product.abbrev" %}}. If these destinations do not satisfy your needs, you can extend {{% param "product.abbrev" %}} and write your own destination, for example, in C, Java, or Python. For details, see {{% xref "/chapter-destinations/reference-destination-custom/_index.md" %}}.
Loading