syslog-ng is an enhanced log daemon, supporting a wide range of input and output methods: syslog, unstructured text, queueing, SQL & NoSQL.
MrAnno on master
db-parser: add support for expl… Merge pull request #4097 from b… (compare)
.*
some kind of "workaround" within the new regexp-parser
pattern so a message does not get discarded in case none of the previous pattern
finds anything? Because I'm currently testing this new regexp-parser and added several patterns to extract information and noticed, that my message was never written to the destination. This seems to be caused by the fact, that none of my patterns really matched something. So is some kind of last pattern like .*
the only chance I do not lose a message or are there flags that I can use to prevent messages to be discarded? Thank you for your help
TAGS
into a JSON array, that should then be used within elasticsearch. Currently, the TAGS
are set, but set a a static string (comma separated). I tried it with some rewrite
but currently I cannot get it work. So I tried for examplerewrite {
set("$(explode ',' ${TAGS})", value("tags"));
};
Hello,
I am an assistant professor at Beihang University. Our team is doing a study about GSoC mentors, aiming to understand the motivations, challenges, strategies, and gains of GSoC mentors. To this end, we designed a questionnaire. We sincerely invite GSoC mentors to participate in this survey. Your feedback is very important for us.
Questionnaire link: https://forms.gle/rgAWwmrvrCb5XdAq9
If you are interested in this study, welcome to join our follow-up interview! Thank you very much!
Sincerely,
Xin Tan
NaN
it doesn't like
Basic config elements look like this:
source s_ciscoudp { udp (ip("0.0.0.0") port(5140) flags(no-parse,store-raw-message)); };
destination d_raw { file("/var/log/raw" template("${RAWMSG}\n")); };
destination d_fromcisco { file("/etc/syslog-ng/fromcisco" template(t_jsonfile)); };
template t_jsonfile {
template("$(format-json --scope rfc5424 --scope dot-nv-pairs
--rekey .* --shift 1 --scope nv-pairs --key ISODATE)\n\n");
};
parser p_cisco {
cisco-parser();
};
log { source(s_ciscoudp); destination(d_raw); parser(p_cisco); destination(d_fromcisco); };
<pri>(sequence: )?(origin-id: )?(timestamp? timezone?: )?%msg
`Required bison not found /home/fwernli/git/syslog-ng/build/lib/rewrite/rewrite-expr-grammar.y