LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-10-2014, 10:43 PM   #1
Kazuki Ohya
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Rep: Reputation: Disabled
Question <Syslog-ng>What's source do I need?


I use SUSE Linux Enterprise Server 11 (x86_64) version 11.

I want to transfer syslog to another server(it uses kiwi) with syslog-ng.

I configure syslog-ng.conf, but no syslog is transfered to another server.

I guess I miss enough source configuration.
I set source;
---------------------------------------------------------------------------
source src {
#
# include internal syslog-ng messages
# note: the internal() soure is required!
#
internal();

#
# the default log socket for local logging:
#
unix-dgram("/dev/log");

#
# uncomment to process log messages from network:
#
#udp(ip("0.0.0.0") port(514));
};
---------------------------------------------------------------------------

Do I need more source configuration?

Thanks in advanced.
Best regard,
Kazuki
 
Old 09-11-2014, 12:57 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
SLES 11 comes with Syslog-NG so like any other major Linux distribution it should come with a working configuration for local logging out of the box. Your code snippet doesn't even have a destination set so, with all due respect first read the manual page, the Syslog-NG documentation Novel and Balabit provide, use the existing configuration and modify that and then post your proposed config please.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
syslog to accept logs from remote source on 9.1 plisken Slackware 9 07-22-2013 01:40 PM
[SOLVED] [syslog-ng] Could I Set variables like $YEAR at source{} ? MattSong Linux - Server 4 01-11-2012 02:27 AM
Best Open Source Syslog Server burak Linux - General 2 12-13-2010 10:36 AM
ading new source in syslog-ng for appache error log sezam2 Linux - Software 0 02-25-2009 04:03 PM
LXer: Version 3.0 of syslog-ng Open Source Edition has been released LXer Syndicated Linux News 0 02-14-2009 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration