tag:support.pimpmylog.com,2013-12-07:/discussions/suggestions/10-submission-config-for-checking-syslog-ng-and-probably-other-regular-syslog-filesPimp my Log: Discussion 2014-07-15T11:13:06Ztag:support.pimpmylog.com,2013-12-07:Comment/310717502014-01-12T19:18:29Z2014-01-12T19:18:29ZSubmission: Config for checking syslog-ng (and probably other 'regular') syslog files.<div><p>Hi Walter,</p>
<p>thank you for this contribution!</p>
<p>Here is the formatted version :</p>
<pre>
<code>"syslog1": {
"display": "Syslog",
"path": "/var/log/messages",
"refresh": 5,
"max": 50,
"notify": false,
"format": {
"regex": "|(.*?) ([0-9]{1,2}) ([0-9]{1,2}:[0-9]{1,2}:[0-9]{1,2}) ([a-zA-Z0-9_\-\.]{1,256}) ([A-Za-z0-9_\-\/\.]{1,32})\[(.*?)\]:(.*)|",
"match": {
"Date": 3,
"Source": 4,
"Tag_ID": 5,
"PID": 6,
"Message": 7
},
"types": {
"Date": "date:H:i:s",
"Source": "txt",
"Tag_ID": "txt",
"PID": "numeral",
"Message": "txt"
}
}
}</code>
</pre>
<p>Could you provide us a sample of a matched log line please?</p></div>potskytag:support.pimpmylog.com,2013-12-07:Comment/310717502014-01-13T16:00:54Z2014-01-13T16:00:54ZSubmission: Config for checking syslog-ng (and probably other 'regular') syslog files.<div><p>Sorry for the delay, I missed the request for the log sample
yesterday.</p>
<p>Please see attached.</p>
<p>Have A Great Day!</p></div>walter.brocktag:support.pimpmylog.com,2013-12-07:Comment/310717502014-01-15T09:39:30Z2014-01-15T09:39:30ZSubmission: Config for checking syslog-ng (and probably other 'regular') syslog files.<div><p>Thank you Walter!</p></div>potsky