summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-10-16 00:24:34 +0100
committerGitHub <noreply@github.com>2023-10-16 00:24:34 +0100
commit7a3f22e24b428de258e4b55321aed75eac97b19e (patch)
treea7e91aef54e5a2722ca95c0ef5248040527d97e7 /collectors
parent74ad3dd508c7e7b849c2f37e8c9d0a27b192dde2 (diff)
allow patterns in journal queries (#16210)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/systemd-journal.plugin/systemd-journal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-journal.c b/collectors/systemd-journal.plugin/systemd-journal.c
index 02cbb6f2bf..c2bd98e7db 100644
--- a/collectors/systemd-journal.plugin/systemd-journal.c
+++ b/collectors/systemd-journal.plugin/systemd-journal.c
@@ -179,7 +179,7 @@ int fstat64(int fd, struct stat64 *buf) {
"|_UID" \
"|_GID" \
"|_COMM" \
- /* "|_EXE" */ \
+ "|_EXE" \
/* "|_CMDLINE" */ \
"|_CAP_EFFECTIVE" \
/* "|_AUDIT_SESSION" */ \
@@ -218,7 +218,7 @@ int fstat64(int fd, struct stat64 *buf) {
"|OBJECT_UID" \
"|OBJECT_GID" \
"|OBJECT_COMM" \
- /* "|OBJECT_EXE" */ \
+ "|OBJECT_EXE" \
/* "|OBJECT_CMDLINE" */ \
/* "|OBJECT_AUDIT_SESSION" */ \
"|OBJECT_AUDIT_LOGINUID" \