7b39 Append host name to log file using syslog-ng - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Networking

Networking Network related discussions (including general TCP/IP stuff, routing, etc).

Reply
 
Thread Tools Display Modes
  #1  
Old January 15th, 2009, 09:37
coolatt coolatt is offline
Junior Member
 
Join Date: Jan 2009
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Append host name to log file using syslog-ng

hi.

i want to collect logs from different hosts and write it to a single log file on the syslog-ng server

i want it in the format

Host1 ........<rest of log line>......
Host1 ........<rest of log line>......
Host2 ........<rest of log line>......
Host3 ........<rest of log line>......
Host1 ........<rest of log line>......

any idea? plz help.
Reply With Quote
Reply

Tags
log, logfile, syslog-ng

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] sendmail and unqualified host name abarmot Web & Network Services 4 April 28th, 2013 16:17
Mysql 5.x binary-log disable? klabacita Web & Network Services 9 July 7th, 2011 22:34
renaming a syslog log file in the current date format coolatt Web & Network Services 5 January 14th, 2009 10:38
host redirection via ipfw SaveTheRbtz Web & Network Services 6 December 26th, 2008 07:49
syslog-ng inside jail myha Installing & Upgrading 1 December 23rd, 2008 13:28


All times are GMT +1. The time now is 10:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0