diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-08-15 22:41:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-15 22:41:56 +0300 |
commit | 32a08e7a730794044b8c0f5989e873742d7af9e9 (patch) | |
tree | 4e8e8cd1aadec6ebb4f93b062e93c7dc30767ba9 /collectors/systemd-journal.plugin | |
parent | d5bdb7cf15b73ef4e761d31298eda9b7567bc8a8 (diff) |
systemd-journal fixes (#15814)
Diffstat (limited to 'collectors/systemd-journal.plugin')
-rw-r--r-- | collectors/systemd-journal.plugin/systemd-journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/systemd-journal.plugin/systemd-journal.c b/collectors/systemd-journal.plugin/systemd-journal.c index 4c670632ac..0aaa360444 100644 --- a/collectors/systemd-journal.plugin/systemd-journal.c +++ b/collectors/systemd-journal.plugin/systemd-journal.c @@ -566,7 +566,7 @@ int main(int argc __maybe_unused, char **argv __maybe_unused) { bool tty = isatty(fileno(stderr)) == 1; netdata_mutex_lock(&mutex); - fprintf(stdout, PLUGINSD_KEYWORD_FUNCTION " \"%s\" %d \"%s\"\n", + fprintf(stdout, PLUGINSD_KEYWORD_FUNCTION " GLOBAL \"%s\" %d \"%s\"\n", SYSTEMD_JOURNAL_FUNCTION_NAME, SYSTEMD_JOURNAL_DEFAULT_TIMEOUT, SYSTEMD_JOURNAL_FUNCTION_DESCRIPTION); heartbeat_t hb; |