new(outputs): add source and tags to json output

Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
This commit is contained in:
Jason Dellaluce
2021-08-31 15:51:16 +00:00
committed by poiana
parent b0562242e8
commit 8273e57598
4 changed files with 14 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ public:
static int lua_free_formatter(lua_State *ls);
static string format_event(const gen_event *evt, const std::string &rule, const std::string &source,
const std::string &level, const std::string &format);
const std::string &level, const std::string &format, std::set<std::string> &tags);
static map<string, string> resolve_tokens(const gen_event *evt, const std::string &source,
const std::string &format);