tag:support.pimpmylog.com,2013-12-07:/discussions/suggestions/816-syslog-ng
Pimp my Log: Discussion
2018-06-14T08:08:56Z
tag:support.pimpmylog.com,2013-12-07:Comment/45479829
2018-06-14T08:06:09Z
2018-06-14T08:06:10Z
syslog-ng
<div><p>Hello,</p>
<p>i tried to include the syslog-ng profile from: <a href="http://support.pimpmylog.com/kb/softwares/syslog-ng">http://support.pimpmylog.com/kb/softwares/syslog-ng</a> and edited it a bit to look like the example form <a href="http://pimpmylog.com/documentation/configuration.html">http://pimpmylog.com/documentation/configuration.html</a> (CONFIGURATION_DIR)</p>
<p>Was there a change in configuration? My syslog.json from the config.user.d dir wont get loaded while the apache example does.</p>
<p>Kind Regards</p></div>
DooMRunneR
tag:support.pimpmylog.com,2013-12-07:Comment/45479829
2018-06-14T08:08:54Z
2018-06-14T08:08:56Z
syslog-ng
<div><p>My Syslog looks like this:</p>
<pre>
<code>{
"syslog1" : {
"display" : "Syslog",
"path" : "\/usr\/local\/syslog-ng\/syslog.log",
"refresh" : 5,
"max" : 10,
"export" : true,
"notify" : false,
"format" : {
"export_title" : "SysLog",
"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,
"PD" : 6,
"Message" : 7
},
"types" : {
"Date" : "date:H:i:s",
"Source" : "txt",
"Tag_ID" : "txt",
"PID" : "numeral",
"Message" : "txt"
},
}
}
}</code>
</pre></div>
DooMRunneR