On 06/03/14 10:10, Daniel Pocock wrote: > On 05/03/14 21:06, Michael Biebl wrote: >> Am 05.03.2014 20:14, schrieb Daniel Pocock: >> >>> On 05/03/14 19:58, Michael Biebl wrote: >>> Michael, if Rainer confirms the fix version for the template issue, >>> would you mind updating the packages and then just ping me to test? >> Sure, no problem. I'm currently waiting for liblogging to pass the NEW >> queue so I can upload rsyslog 7.6.0. >> I expect in that case the fix will land in 7.6.1 and I would then just >> update to that version. >> >> Michael > Here are some upstream patches you could cherry-pick into the package: > > 18eaa5cc5c325e1f4c531dd03b463997c7fde1b4 (template not mandatory) > > 9d0fc675a51125acde057d0e53e8323c5e1ed572 (fix a string termination bug) > > > This got it working for me > > I create the debian/patches on a branch in collab-maint, my branch is > called pocock > > Please feel free to merge and release as 7.4.4-2, this will let people > test while waiting for the 7.6.x releases > >
Just confirming that after those patches, LogAnalyzer 3.6.5 works for me now too In the LogAnalyzer install.php, I select SourceType: MongoDB native Select View: Syslog Fields Table type: MongoDB Database Host: localhost Database name: logs Database tablename: syslog Database user: (delete the default, must be blank) Database password: (also blank) This is how it appears in config.php: $CFG['DefaultSourceID'] = 'Source1'; $CFG['Sources']['Source1']['ID'] = 'Source1'; $CFG['Sources']['Source1']['Name'] = 'My Syslog Source'; $CFG['Sources']['Source1']['ViewID'] = 'SYSLOG'; $CFG['Sources']['Source1']['SourceType'] = SOURCE_MONGODB; $CFG['Sources']['Source1']['DBTableType'] = 'mongodb'; $CFG['Sources']['Source1']['DBServer'] = 'localhost'; $CFG['Sources']['Source1']['DBName'] = 'logs'; $CFG['Sources']['Source1']['DBUser'] = ''; $CFG['Sources']['Source1']['DBPassword'] = ''; $CFG['Sources']['Source1']['DBTableName'] = 'syslog'; In /etc/rsyslog.conf there is just this: $ModLoad ommongodb *.* action(type="ommongodb" server="127.0.0.1" db="logs" collection="syslog") No need to specify template or anything else. The values db="logs" and collection="syslog" come from the article here: http://loganalyzer.adiscon.com/articles/using-mongodb-with-rsyslog-and-loganalyzer/ I've suggested to upstream that the ommongodb defaults and the article and LogAnalyzer defaults for db and collection names should all be synchronized https://github.com/rsyslog/loganalyzer/issues/4 Once that is done, the README.Debian will probably be OK as it is again. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org