I am trying to write a highly customized script in Python2.7 in order to persist some specific logging data. I have been using
My problem is that I don't know what to make of of some portions of the incoming data. Take these two lines for example:
What do those numbers in between the LT and GT signs mean? Why don't they mean the same process? Where can I learn about this?
syslog-ng
for a long time to that end, but I believe (and hope) that a simple Python script will handle things faster and will save me the hassle of installing and configuring syslog-ng
, not to mention that doing so will grant me the ability to take action in certain situations.My problem is that I don't know what to make of of some portions of the incoming data. Take these two lines for example:
Code:
<30>Aug 26 08:41:50 dhcpd: Config file: /etc/dhcpd.conf
<190>Aug 26 08:31:42 dhcpd: DHCPACK on 192.168.254.10 to 74:d4:35:e6:39:49 (PWB) via em1
What do those numbers in between the LT and GT signs mean? Why don't they mean the same process? Where can I learn about this?