Is it possible to forward only certain IP ranges in syslog-ng when it is running in server mode? If I have 10.10.10.0\24 10.10.20.0\24 10.20.10.0\0 and I want to forward 10.20.10.0\0 and 10.10.10.0\24 and nothing else is this possible. Regards, Jim ----------------------------------------- This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
Is it possible to forward only certain IP ranges in syslog-ng when it is running in server mode?
If I have 10.10.10.0\24 10.10.20.0\24 10.20.10.0\0 and I want to forward 10.20.10.0\0 and 10.10.10.0\24 and nothing else is this possible.
Although I'm not sure what your question is I think the netmask() filter could do the trick. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
So I have my syslogs going to a mysql database. What are some recommended ways to make this data useful? Here's how I created the table: CREATE TABLE syslog ( host varchar(32) default NULL, facility varchar(10) default NULL, priority varchar(10) default NULL, level varchar(10) default NULL, tag varchar(10) default NULL, date date default NULL, time time default NULL, program varchar(15) default NULL, msg text, seq int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (seq), KEY host (host), KEY seq (seq), KEY program (program), KEY time (time), KEY date (date), KEY priority (priority), KEY facility (facility) ) TYPE=MyISAM;
Have you looked at the phpsyslog-ng project on source forge its quite nice and usefull my only complaint about it is it only works with mysql. ___________________________________________ The average person does a lot of work in the name of laziness! Save youre self the effort by doing it right the first time. Do it with free speech software.
participants (4)
-
Geller, Sandor (IT)
-
James B Horwath
-
John Hala
-
Paul Robert Marino