From 33ae757ac16f89145bee03c29985eb7f375d1a2a Mon Sep 17 00:00:00 2001 From: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:49:39 +0100 Subject: [PATCH] feat(docs): add Linux distribution name and version properties to searchable properties --- .../concepts/search/searchable-properties/events.mdx | 12 ++++++++++++ .../concepts/search/searchable-properties/issues.mdx | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/docs/concepts/search/searchable-properties/events.mdx b/docs/concepts/search/searchable-properties/events.mdx index d7b135432b624..16df7fa963433 100644 --- a/docs/concepts/search/searchable-properties/events.mdx +++ b/docs/concepts/search/searchable-properties/events.mdx @@ -472,6 +472,18 @@ The independent kernel version string. This is typically the entire output of th - **Type:** string +### `os.distribution_name` + +The Linux distribution name. This maps to `ID` in [`/etc/os-release/`](https://www.freedesktop.org/software/systemd/man/latest/os-release.html). + +- **Type:** string + +### `os.distribution_version` + +The Linux distribution version. This maps to `VERSION_ID` in [`/etc/os-release/`](https://www.freedesktop.org/software/systemd/man/latest/os-release.html). + +- **Type:** string + ### `percentile(field,level)` Returns results with an approximate percentile of the field to the level. The level can be between `0` and `1`. For example, if you wanted to find the 50th percentile of transaction durations, you would enter `percentile(transaction.duration, 0.5)`. diff --git a/docs/concepts/search/searchable-properties/issues.mdx b/docs/concepts/search/searchable-properties/issues.mdx index 6e966fb56eda6..e7d11d91063a4 100644 --- a/docs/concepts/search/searchable-properties/issues.mdx +++ b/docs/concepts/search/searchable-properties/issues.mdx @@ -292,6 +292,18 @@ The independent kernel version string. This is typically the entire output of th - **Type:** string +### `os.distribution_name` + +The Linux distribution name. This maps to `ID` in [`/etc/os-release/`](https://www.freedesktop.org/software/systemd/man/latest/os-release.html). + +- **Type:** string + +### `os.distribution_version` + +The Linux distribution version. This maps to `VERSION_ID` in [`/etc/os-release/`](https://www.freedesktop.org/software/systemd/man/latest/os-release.html). + +- **Type:** string + ### `platform.name` Name of the platform