Skip to content

Commit f6b85af

Browse files
Merge pull request #173 from axoflow/4.19-prep
4.19 docs
2 parents 45d9f87 + ce592ee commit f6b85af

File tree

6 files changed

+38
-7
lines changed

6 files changed

+38
-7
lines changed

config/_default/config.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ description = "Documentation for AxoSyslog, the scalable security data processor
7272
# The version number for the version of the docs represented in this doc set.
7373
# Used in the "version-banner" partial to display a version number for the
7474
# current doc set.
75-
version = "4.17.0"
75+
version = "4.19.0"
7676
version_menu_canonicallinks = true
7777

7878
# A link to latest version of the docs. Used in the "version-banner" partial to
@@ -172,11 +172,11 @@ description = "Documentation for AxoSyslog, the scalable security data processor
172172
[params.product]
173173
name = "AxoSyslog"
174174
abbrev = "AxoSyslog"
175-
version = "4.18"
175+
version = "4.19"
176176
# techversion includes patch version number, needed for install/image commands
177177
# configversion is needed in the config file examples
178-
techversion = "4.18.0"
179-
configversion = "4.18"
178+
techversion = "4.19.1"
179+
configversion = "4.19"
180180
syslog-ng = "syslog-ng"
181181
selinux = "SELinux"
182182
apparmor = "AppArmor"

content/chapter-sources/opentelemetry/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ log otel_forward_mode_alts {
4141

4242
The `opentelemetry()` source ignores this option and uses the address of the OTLP peer as the HOST.
4343

44+
{{< include-headless "chunk/option-source-log-fetch-limit.md" >}}
45+
4446
{{< include-headless "chunk/option-source-file-log-iw-size.md" >}}
4547

4648
## `port()` {#port}

content/chapter-sources/source-syslog-ng-otlp/_index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ The `syslog-ng-otlp()` source ignores this option and uses the hostname from the
7171

7272
{{< include-headless "chunk/option-source-keep-timestamp.md" >}}
7373

74-
{{% include-headless "chunk/option-source-file-log-iw-size.md" %}}
74+
{{< include-headless "chunk/option-source-log-fetch-limit.md" >}}
75+
76+
{{< include-headless "chunk/option-source-file-log-iw-size.md" >}}
7577

7678
{{< include-headless "chunk/option-source-log-prefix.md" >}}
7779

content/filterx/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,8 @@ For details, see {{% xref "/filterx/operator-reference.md" %}}.
411411
FilterX has the following built-in functions.
412412
413413
- [`cache_json_file`]({{< relref "/filterx/function-reference.md#cache-json-file" >}}): Loads an external JSON file to lookup contextual information.
414-
- [`dedup_metrics_labels`]({{< relref "/filterx/filterx-metrics/_index.md#metrics-labels" >}}): Deduplicate `metrics_labels` objects.
414+
- [`dedup_metrics_labels`]({{< relref "/filterx/filterx-metrics/_index.md#dedup-metrics-labels" >}}): Deduplicate `metrics_labels` objects.
415+
- [`dict_to_pairs`]({{< relref "/filterx/function-reference.md#dict-to-pairs" >}}): Convert dicts to list of pairs.
415416
- [`dpath`]({{< relref "/filterx/function-reference.md#dpath" >}}): Creates a nested path in a dictionary.
416417
- [`endswith`]({{< relref "/filterx/filterx-string-search/_index.md" >}}): Checks if a string ends with the specified value.
417418
- [`flatten`]({{< relref "/filterx/function-reference.md#flatten" >}}): Flattens the nested elements of an object.

content/filterx/function-reference.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,32 @@ Usually, you use the [strptime](#strptime) FilterX function to create datetime v
6363
- When casting from a double, the double is the number of seconds elapsed since the UNIX epoch (00:00:00 UTC on 1 January 1970). (The part before the floating points is the seconds, the part after the floating point is the microseconds.)
6464
- When casting from a string, the string (for example, `1701350398.123000+01:00`) is interpreted as: `<the number of seconds elapsed since the UNIX epoch>.<microseconds>+<timezone relative to UTC (GMT +00:00)>`
6565

66-
## dedup_metrics_labels
66+
## dedup_metrics_labels {#dedup-metrics-labels}
6767

6868
Deduplicate `metrics_labels` objects. For details, see {{% xref "/filterx/filterx-metrics/_index.md#metrics-labels" %}}.
6969

70+
## dict_to_pairs {#dict-to-pairs}
71+
72+
Convert dicts to list of pairs.
73+
74+
Usage: `dict_to_pairs(<input-dict>, <key-name>, <value-name>)`
75+
76+
```shell
77+
my_dict = {
78+
"key_1": "value_1",
79+
"key_2": "value_2",
80+
"key_3": ["value_3", "value_4"],
81+
};
82+
83+
my_list = dict_to_pairs(my_dict, "key", "value");
84+
# The value of my_list will be:
85+
# [
86+
# {"key":"key_1","value":"value_1"},
87+
# {"key":"key_2","value":"value_2"},
88+
# {"key":"key_3","value":["value_3","value_4"]}
89+
# ]
90+
```
91+
7092
## dpath
7193

7294
Available in {{< product >}} 4.17 and later.

content/whats-new/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ weight: 10
66

77
{{< include-headless "banner-new-to-axosyslog.md" >}}
88

9+
## Version 4.19 (2025-10-15)
10+
11+
- The [`dict_to_pairs`]({{< relref "/filterx/function-reference.md#dict-to-pairs" >}}) FilterX function can convert a dictionary to a list of pairs.
12+
913
## Version 4.18 (2025-09-30)
1014

1115
- You can now use macros and templates in the [`headers()` option]({{< relref "/chapter-destinations/configuring-destinations-http-nonjava/reference-destination-http-nonjava/_index.md#headers" >}}) of the `http()` destination to set the headers dynamically.

0 commit comments

Comments
 (0)