Hi,
I'm using rsyslog's default Template to write Syslog data into Postgresql, and configured phpLogCon as follows:
$CFG['Sources']['Source1']['ID'] = 'Source1';
$CFG['Sources']['Source1']['Name'] = 'xxx';
$CFG['Sources']['Source1']['ViewID'] = 'SYSLOG';
$CFG['Sources']['Source1']['SourceType'] = SOURCE_PDO;
$CFG['Sources']['Source1']['DBTableType'] = 'monitorware';
$CFG['Sources']['Source1']['DBType'] = DB_PGSQL;
$CFG['Sources']['Source1']['DBServer'] = 'localhost';
$CFG['Sources']['Source1']['DBName'] = 'Syslog';
$CFG['Sources']['Source1']['DBUser'] = 'phplogcon';
$CFG['Sources']['Source1']['DBPassword'] = 'xxx';
$CFG['Sources']['Source1']['DBTableName'] = 'systemevents';
$CFG['Sources']['Source1']['DBEnableRowCounting'] = false;
Due to the wonders of the ps command, I can tell that phpLogCon is able to log in to the postgresql database correctly. However, the web interface shows me a number of empty rows equal to the number of rows in the database. Any hints would be appreciated...


