Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:43:06 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
Syslog & syslogd
>
handle log by syslog
Pages: [
1
]
« previous
next »
Print
Author
Topic: handle log by syslog (Read 1020 times)
reaky
Newbie
Offline
Posts: 4
handle log by syslog
«
on:
August 04, 2009, 04:24:00 am »
Dears,
I have a file that logs all bash commands for users, And I have syslog service runing in the server and send all syslog messages to remote syslog server
Now I want syslog to handle this file and send all updates happened on it to the remote syslog server, Can anyone help
Logged
Admin
Administrator
Newbie
Offline
Posts: 146
Re: handle log by syslog
«
Reply #1 on:
August 07, 2009, 03:39:43 pm »
A quick and dirty way would be "tail -f /var/log/yourlogfile.log |logger -h 192.168.0.1"
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Loading...