added version to systemd-journal info response (#18474)
* added version to systemd-journal info response * renamed version to v
Costa Tsaousis committed
Sep 4, 2024 at 12:23 UTC
1a8c356fa27f7093222cf1b0bdbb1d56513c2b85
1 file changed
+1
src/collectors/systemd-journal.plugin/systemd-journal.c
+1
@@ -2224,6 +2224,7 @@ void function_systemd_journal(const char *transaction, char *function, usec_t *s
2224
int response;
2225
2226
if(q.info) {
2227
+ buffer_json_member_add_uint64(wb, "v", 3);
2228
facets_accepted_parameters_to_json_array(facets, wb, false);
2229
buffer_json_member_add_array(wb, "required_params");
2230
{