Skip to content

brhrenad/misc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

rnd_syslog

Downloads random RFC-Files from the IETF-Webpage (https://tools.ietf.org/) to generate/simulate some pseudo random "syslog"-Entries. Currently it don't uses the syslog-API directly, it just writes the generated messages to a MySQL/MariaDB-Database. The purpose of this applicatation is to develop/test syslog Frontend which uses as backend a database.

Some example of such (Web-)Frontends:

SQL

Create DB and TABLE

create database syslog;
create table syslog.syslog (
 id int(10) AUTO_INCREMENT PRIMARY KEY,
 timestamp datetime,
 host varchar(60),
 tag varchar(60),
 level smallint(6),
 msg text
) ENGINE MyISAM;

Add syslog-User

create user syslog.'%' identified by '7f1$GRQ;MMGfhNXyElm';
grant UPDATE,SELECT,INSERT,DELETE on syslog.* to syslog;
flush privileges;

About

Miscellaneous

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages