Skip to content

Commit 8617fc1

Browse files
Merge branch 'master' into doc-pipe-fifo
2 parents 86ea2f6 + 2343a93 commit 8617fc1

File tree

227 files changed

+1779
-471
lines changed

Some content is hidden

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

227 files changed

+1779
-471
lines changed

.github/workflows/jekyll-gh-pages.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
# Build job
3131
build:
32-
runs-on: ubuntu-latest
32+
runs-on: ubuntu-22.04
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
@@ -105,7 +105,7 @@ jobs:
105105
environment:
106106
name: github-pages
107107
url: ${{ steps.deployment.outputs.page_url }}
108-
runs-on: ubuntu-latest
108+
runs-on: ubuntu-22.04
109109
needs: build
110110
steps:
111111
- name: Deploy to GitHub Pages

Gemfile

+3
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ gem "faraday-retry"
8989
# that could lead to build error:
9090
# /opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/logger.rb:384:in `level': undefined method `[]' for nil (NoMethodError)
9191
# @level_override[Fiber.current] || @level
92+
gem "logger"
9293
gem "mercenary", "~> 0.4"
94+
gem "ostruct"
9395

9496
# self made plugins dependencies
9597
gem "nokogiri"
@@ -100,6 +102,7 @@ gem "nokogiri"
100102
group :jekyll_plugins do
101103

102104
gem "jekyll-remote-theme"
105+
gem "jekyll-github-metadata"
103106
# gem "jekyll-paginate"
104107
# gem "jekyll-sitemap"
105108
# gem "jekyll-gist"

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ plugins:
2424
- jekyll-sitemap # Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site.
2525
- jekyll-gist # Liquid tag for displaying GitHub Gists in Jekyll sites.
2626
- jekyll-include-cache # Liquid tag that caches Liquid includes.
27+
- jekyll-github-metadata
2728

2829
# Whitelist plugins under safe mode.
2930
whitelist:
@@ -256,3 +257,5 @@ footer:
256257
product:
257258
name: 'syslog-ng Open Source Edition'
258259
short_name: 'syslog-ng OSE'
260+
261+
repository: syslog-ng/syslog-ng

_data/external_links.yml

+27-2
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ flask:
343343
url: http://flask.pocoo.org/
344344
title: [ "Flask" ]
345345

346+
freebsd-ports:
347+
id: freebsd-ports
348+
url: https://ports.freebsd.org/cgi/ports.cgi
349+
title: [ "/FreeBSD [Pp]orts/" ]
350+
346351
freepascal-launchd:
347352
id: freepascal-launchd
348353
url: https://wiki.freepascal.org/macOS_daemons_and_agents
@@ -411,12 +416,22 @@ grpc-keep:
411416
homebrew:
412417
id: homebrew
413418
url: http://brew.sh
414-
title: [ "Homebrew" ]
419+
title: [ "/[Hh]ome[Bb]rew/" ]
415420

416421
homebrew-inst-detailed:
417422
id: homebrew-inst-detailed
418423
url: https://mac.install.guide/homebrew/3.html
419-
title: [ "Homebrew" ]
424+
title: [ "/[Hh]ome[Bb]rew [Ii]nstallation/", "/[Ii]nstall [Hh]ome[Bb]rew/" ]
425+
426+
macports:
427+
id: macports
428+
url: https://www.macports.org
429+
title: [ "/[Mm]ac[Pp]orts/" ]
430+
431+
macports-inst-detailed:
432+
id: macports-inst-detailed
433+
url: https://www.macports.org/install.php
434+
title: [ "/[Mm]ac[Pp]orts [Ii]nstallation/", "/[Ii]nstall [Mm]ac[Pp]orts/" ]
420435

421436
iptables:
422437
id: iptables
@@ -593,6 +608,11 @@ gh-es:
593608
url: https://github.com/syslog-ng/syslog-ng/tree/master/scl/elasticsearch
594609
title: [ "Elasticsearch configuration snippet on GitHub" ]
595610

611+
gh-es-ds:
612+
id: gh-es-ds
613+
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/elasticsearch/elastic-datastream.conf
614+
title: [ "Elasticsearch datastream configuration snippet on GitHub" ]
615+
596616
gh-fortigate:
597617
id: gh-fortigate
598618
url: https://github.com/syslog-ng/syslog-ng/blob/master/scl/fortigate/fortigate.conf
@@ -781,6 +801,11 @@ ebpf:
781801
url: https://ebpf.io/
782802
title: [ "Extended Berkeley Packet Filter" ]
783803

804+
elastic-ds:
805+
id: elastic-ds
806+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html
807+
title: [ "Elasticsearch data streams" ]
808+
784809
gcp-ser:
785810
id: gcp-ser
786811
url: https://cloud.google.com/iam/docs/service-account-overview

_data/navigation.yml

+15-6
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ admin-guide-nav:
8181
- title: "Configuring {{ site.product.short_name }} relays"
8282
url: /admin-guide/040_Quick-start_guide/002_Configuring_syslog-ng_relays/README
8383
subnav:
84-
- title: "Configuring {{ site.product.short_name }} on relay hosts"
85-
url: /admin-guide/040_Quick-start_guide/002_Configuring_syslog-ng_relays/000_Configuring_syslog-ng_on_relay_hosts
8684
- title: "How relaying log messages works"
8785
url: /admin-guide/040_Quick-start_guide/002_Configuring_syslog-ng_relays/001_How_relaying_works
8886
- title: "Managing and checking {{ site.product.short_name }} service on Linux"
@@ -140,12 +138,12 @@ admin-guide-nav:
140138
- title: "file"
141139
url: /admin-guide/060_Sources/020_File/README
142140
subnav:
143-
- title: "Notes on reading kernel messages"
144-
url: /admin-guide/060_Sources/020_File/000_Notes_on_reading_kernel_messages
141+
- title: "file() source options"
142+
url: /admin-guide/060_Sources/020_File/000_File_source_options
145143
- title: "How file sources are followed"
146144
url: /admin-guide/060_Sources/020_File/001_File_following
147-
- title: "file() source options"
148-
url: /admin-guide/060_Sources/020_File/002_File_source_options
145+
- title: "Notes on reading kernel messages"
146+
url: /admin-guide/060_Sources/020_File/002_Notes_on_reading_kernel_messages
149147
- title: "Arr logs"
150148
url: /admin-guide/060_Sources/025_Arr_logs/README
151149
subnav:
@@ -154,6 +152,11 @@ admin-guide-nav:
154152
subnav:
155153
- title: "wildcard-file() source options"
156154
url: /admin-guide/060_Sources/030_Wildcard-file/000_Wildcard-file_options
155+
- title: "hypr"
156+
url: /admin-guide/060_Sources/031_Hypr/README
157+
subnav:
158+
- title: "hypr-audit-trail() and hypr-app-audit-trail() source options"
159+
url: /admin-guide/060_Sources/031_Hypr/000_Hypr_options
157160
- title: "Jellyfin"
158161
url: /admin-guide/060_Sources/035_Jellyfin/README
159162
subnav:
@@ -1188,6 +1191,9 @@ dev-guide-nav:
11881191
url: /dev-guide/chapter_4/section_2/macos-testing-status/afuser
11891192
- title: "elasticsearch-http"
11901193
url: /dev-guide/chapter_4/section_2/macos-testing-status/elasticsearch-http
1194+
- title: "grpc"
1195+
url: /dev-guide/chapter_4/section_2/macos-testing-status/grpc/README
1196+
subnav:
11911197
- title: "http"
11921198
url: /dev-guide/chapter_4/section_2/macos-testing-status/http
11931199
- title: "mod-python"
@@ -1212,6 +1218,9 @@ dev-guide-nav:
12121218
url: /dev-guide/chapter_4/section_2/macos-testing-status/system-source/01_collecting-native-logs
12131219
- title: "Collecting local macOS logs"
12141220
url: /dev-guide/chapter_4/section_2/macos-testing-status/system-source/02_collecting-local-logs
1221+
- title: "FreeBSD"
1222+
url: /dev-guide/chapter_4/section_3/README
1223+
subnav:
12151224
- title: "Contribution"
12161225
url: /dev-guide/chapter_5/README
12171226
subnav:

_includes/doc/admin-guide/options/create-dirs.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55

66
*Description:* Enable creating non-existing directories when creating
77
files or socket files.
8+
9+
**NOTE:** If syslog-ng cannot create the pipe, it aborts and produces an error. This could be caused by the lack of a write permission, or missing directory. The latter of the two can be fixed by using the `create-dirs(yes)` option.
10+
{: .notice--info}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## headers()
2+
3+
| Type: | arrow list|
4+
|Default:| empty|
5+
6+
Available in syslog-ng OSE 4.8 and later versions.
7+
8+
*Description:* Adds custom gRPC headers to each RPC call. Currently only static header names and values are supported.
9+
10+
```config
11+
headers(
12+
"organization" => "org-name"
13+
"stream-name" => "org-stream"
14+
)
15+
```
16+
17+
> *Copyright © 2024 Axoflow*

_includes/doc/admin-guide/options/persist-name.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ drivers:
99

1010
> Error checking the uniqueness of the persist names, please override it with persist-name option. Shutting down.
1111
12+
or
13+
14+
> Automatic assignment of persist names failed, as conflicting persist names were found. Please override the automatically assigned identifier using an explicit persist-name() option or remove the duplicated configuration elements.
15+
1216
This error happens if you use identical drivers in multiple sources, for
1317
example, if you configure two file sources to read from the same file.
1418
In this case, set the persist-name() of the drivers to a custom string,

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
this information is not available in the message. Works when the
2424
incoming message stream is close to real time, and the timezone
2525
information is missing from the timestamp.
26-
26+
- *ignore-aux-data*: This flag enables the source to ignore auxiliary data.
2727
- *kernel*: The kernel flag makes the source default to the LOG_KERN
2828
| LOG_NOTICE priority if not specified otherwise.
2929

_includes/doc/common_snippets

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ that contains the include tag, further inherited e.g. layouts will not see the i
1212

1313
{% assign img_folder = '/assets/images' | relative_url %}
1414

15+
{% assign ose_latest = site.github.latest_release.name | remove: '.tar.gz' | remove: 'syslog-ng-' %}
16+
1517
{% include doc/dev-guide/common_snippets %}
1618

1719
{% include doc/admin-guide/common_snippets %}
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: What {{ site.product.short_name }} is not
33
id: adm-intro-whatnot
4+
description: >-
5+
The {{ site.product.short_name }} application is not log analysis software. It can filter
6+
log messages and select only the ones matching certain criteria. It can
7+
even convert the messages and restructure them to a predefined format,
8+
or parse the messages and segment them into different fields. But
9+
{{ site.product.short_name }} cannot interpret and analyze the meaning behind the messages,
10+
or recognize patterns in the occurrence of different messages.
411
---
5-
6-
The {{ site.product.short_name }} application is not log analysis software. It can filter
7-
log messages and select only the ones matching certain criteria. It can
8-
even convert the messages and restructure them to a predefined format,
9-
or parse the messages and segment them into different fields. But
10-
{{ site.product.short_name }} cannot interpret and analyze the meaning behind the messages,
11-
or recognize patterns in the occurrence of different messages.

doc/_admin-guide/010_Introduction_to_syslog-ng/003_Who_uses_syslog-ng.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: Who uses {{ site.product.short_name }}?
33
id: adm-intro-who
4+
description: >-
5+
The {{ site.product.short_name }} application is used worldwide by companies and
6+
institutions who collect and manage the logs of several hosts, and want
7+
to store them in a centralized, organized way.
48
---
59

6-
The {{ site.product.short_name }} application is used worldwide by companies and
7-
institutions who collect and manage the logs of several hosts, and want
8-
to store them in a centralized, organized way. Using {{ site.product.short_name }} is
9-
particularly advantageous for:
10+
Using {{ site.product.short_name }} is particularly advantageous for:
1011

1112
- Internet Service Providers
1213

Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: Supported platforms
33
id: adm-intro-supp
4+
description: >-
5+
The {{ site.product.short_name }} application is highly
6+
portable and is known to run on a wide range of hardware architectures
7+
(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha, ARM64) and operating
8+
systems, including Linux, BSD, Solaris, IBM AIX, HP-UX, macOS,
9+
Cygwin, and others.
410
---
511

6-
The {{ site.product.short_name }} application is highly
7-
portable and is known to run on a wide range of hardware architectures
8-
(x86, x86_64, SUN Sparc, PowerPC 32 and 64, Alpha, ARM64) and operating
9-
systems, including Linux, BSD, Solaris, IBM AIX, HP-UX, macOS,
10-
Cygwin, and others.
11-
1212
- The [[source code|gh-syslog-ng]] of {{ site.product.name }} is released under the GPLv2 license
1313

1414
- For the available binary installation packages, see {{ site.product.name }} installation packages.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Introduction to syslog-ng
33
id: adm-intro
4+
description: >-
5+
This chapter introduces the {{ site.product.name }} application in
6+
a non-technical manner, discussing how and why is it useful, and the
7+
benefits it offers to an existing IT infrastructure.
48
---
5-
6-
This chapter introduces the {{ site.product.name }} application in
7-
a non-technical manner, discussing how and why is it useful, and the
8-
benefits it offers to an existing IT infrastructure.

doc/_admin-guide/020_The_concepts_of_syslog-ng/003_Global_objects.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Global objects
33
id: adm-conc-glob
4+
description: >-
5+
This section explains some basic terminology used in {{ site.product.short_name }}.
46
---
57

68
## Source driver

doc/_admin-guide/030_Installing_syslog-ng/001_Compiling_options.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Compiling options of {{ site.product.short_name }}
33
id: adm-inst-compopt
4+
description: >-
5+
This chapter describes the compiling options of {{ site.product.short_name }}.
46
---
57

68
When compiling {{ site.product.short_name }} from source, you can use the following

doc/_admin-guide/030_Installing_syslog-ng/002_Uninstalling_syslog-ng.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Uninstalling {{ site.product.short_name }}
33
id: adm-inst-uninst
4+
description: >-
5+
This chapter gives you instructions about the uninstallation of {{ site.product.short_name }}.
46
---
57

68
If you need to uninstall {{ site.product.short_name }} for some reason, you have the

doc/_admin-guide/030_Installing_syslog-ng/003_Configuring_MSSQL_server.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
title: Configuring Microsoft SQL Server to accept logs from syslog-ng
2+
title: Configuring Microsoft SQL Server to accept logs from {{ site.product.short_name }}
33
short_title: Configuring MSSQL Server
44
id: adm-inst-mssql
5+
description: >-
6+
This chapter explains how to configure an MSSQL Server to work with {{ site.product.short_name }}.
57
---
68

79
{% assign crumb = page.url | split: '/' %}
810
{% assign img_folder = crumb[-2] | prepend: '/assets/images/admin-guide/'%}
911

1012
Complete the following steps to configure your Microsoft SQL Server to
11-
enable remote logins and accept log messages from syslog-ng.
13+
enable remote logins and accept log messages from {{ site.product.short_name }}.
1214

1315
1. Start the SQL Server Management Studio application. Select
1416
**Start \> Programs \> Microsoft SQL Server 2005 \> SQL Server

doc/_admin-guide/040_Quick-start_guide/000_Configuring_syslog-ng_on_client_hosts.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
title: Configuring {{ site.product.short_name }} on client hosts
33
id: adm-qs-client-conf
44
description: >-
5-
To configure {{ site.product.short_name }} on a client host, complete the following steps.
5+
This section explains how to configure {{ site.product.short_name }} on a client host.
66
---
77

8+
To configure {{ site.product.short_name }} on a client host, complete the following steps.
9+
810
## Steps
911

1012
1. Install the {{ site.product.short_name }} application on the host. For details

doc/_admin-guide/040_Quick-start_guide/001_Configuring_syslog-ng_on_server_hosts.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
title: Configuring {{ site.product.short_name }} on server hosts
33
id: adm-qs-server-conf
44
description: >-
5-
To configure {{ site.product.short_name }} on a server host, complete the following steps.
5+
This section explains how to configure {{ site.product.short_name }} on a server host.
66
---
77

8+
To configure {{ site.product.short_name }} on a server host, complete the following steps.
9+
810
## Steps
911

1012
1. Install the {{ site.product.short_name }} application on the host. For details

0 commit comments

Comments
 (0)