Along with the BSON template defined earlier in this bug report, I tried
the following in /etc/loganalyzer/config.php:


        $CFG['Sources']['Source1']['ID'] = "Source1";
        $CFG['Sources']['Source1']['Name'] = "mongo";
        $CFG['Sources']['Source1']['Description'] = "Main logs from
rsyslog daemon on Debian";
        $CFG['Sources']['Source1']['SourceType'] = SOURCE_MONGODB;
        $CFG['Sources']['Source1']['SourceDBType'] = SOURCE_MONGODB;
        $CFG['Sources']['Source1']['DBName'] = 'logs';
        $CFG['Sources']['Source1']['DBServer'] = 'localhost';
        $CFG['Sources']['Source1']['DBTableName'] = 'syslog';
        $CFG['Sources']['Source1']['ViewID'] = "SYSLOG";


LogAnalyzer connects to mongodb and then says "Invalid datafield mappings"


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to