Quantcast
Channel: How can I extract tag from syslog message, and us it as path variable? - Server Fault
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


How 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
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>