↧
Answer by Jean for How can I extract tag from syslog message, and us it as...
Ok, I solved it : The syslog-ng macro ${PROGRAM} extract this information.
View ArticleAnswer by Scottie H for How can I extract tag from syslog message, and us it...
BLUF: Yes, it is.Q: If you know the tag already, why do you need to extract it? Posit 1: I know MY_SPECIFIC_TAG and want to extract it from the messages file:grep MY_SPECIFC_TAG /var/log/messages | sed...
View ArticleHow can I extract tag from syslog message, and us it as path variable?
I have severals servers logging to the central syslog server, which collect the logs using syslog-ng.I send logs with a tag using the logger command :$ logger -n 01.02.03.04 "Hello from $HOST at...
View Article