Hi there,<br><br> I've searched hi and low for a log analyzer/presenter for PostgreSql backend (still looking) but keep bumping into stuff like LogAnalyzer wanting a MonitorWare Schema.. Searching for that with syslog-ng, I've been unsuccessful (or I am missing something), other than getting the SQL schema below on a chinese site.<br>
<br> Now my quetion: Anybody else used syslog-ng to pump directly into a PostgreSQL db a Monitorware Schema?<br><br> Any other place I can get some more information on this schema usage?<br><br> Anybody using PostgreSQL as a storage back end with a Web based GUI?<br>
<br>(Before we enter the MySQL vs PostgreSQL debates, the answer is simple: we know postgresql, we don't know mysql, and if we hit performance issues in the current environment, we know we will need to procure the necessary HW and handle those decisions there)<br>
<br><br><code>CREATE TABLE SystemEvents<br>
(<br>
ID int unsigned not null auto_increment primary key,<br>
CustomerID bigint,<br>
ReceivedAt datetime NULL,<br>
DeviceReportedTime datetime NULL,<br>
Facility smallint NULL,<br>
Priority smallint NULL,<br>
FromHost varchar(60) NULL,<br>
Message text,<br>
NTSeverity int NULL,<br>
Importance int NULL,<br>
EventSource varchar(60),<br>
EventUser varchar(60) NULL,<br>
EventCategory int NULL,<br>
EventID int NULL,<br>
EventBinaryData text NULL,<br>
MaxAvailable int NULL,<br>
CurrUsage int NULL,<br>
MinUsage int NULL,<br>
MaxUsage int NULL,<br>
InfoUnitID int NULL ,<br>
SysLogTag varchar(60),<br>
EventLogType varchar(60),<br>
GenericFileName VarChar(60),<br>
SystemID int NULL<br>
);<br>
<br>
CREATE TABLE SystemEventsProperties<br>
(<br>
ID int unsigned not null auto_increment primary key,<br>
SystemEventID int NULL ,<br>
ParamName varchar(255) NULL ,<br>
ParamValue text NULL<br>
);</code><br>