HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote logging of access log and syslog files
Operating System - HP-UX
1833756
Members
2487
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 01:24 AM
05-25-2005 01:24 AM
Folks,
I am working on pros and cons of logging the Apache and iPlanet access log and syslog files to a remote HPUX box. I mean instead of writing access log file on local disk we want to write it on remote server's disks.
Can someone suggest the pros and cons of this and how this can be implemented ?
Also please let me know how to award the points to the folks who replies. I am new to this forum :-)
Thanks
Shiv
I am working on pros and cons of logging the Apache and iPlanet access log and syslog files to a remote HPUX box. I mean instead of writing access log file on local disk we want to write it on remote server's disks.
Can someone suggest the pros and cons of this and how this can be implemented ?
Also please let me know how to award the points to the folks who replies. I am new to this forum :-)
Thanks
Shiv
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 03:06 AM
05-25-2005 03:06 AM
Re: Remote logging of access log and syslog files
You should be able to configure Apache to pipe logs to an external program or send them to the localhosts syslog. Not sure how iPlanet works though.
Log directive might look something like this in your apache config
Customlog "| logger -t hostname_httpd -p local7.info" combined
Then you could configure your syslog to log to a remote host's syslog. (man syslogd for details)
# vi /etc/syslogd.conf
local7.info @remotehost
local7.info /var/adm/syslog/httpd.log
# kill -HUP
The above syslogd.conf entries should send all "local7.info" priority messages to the remote nodes syslog and a local log file.
*Keep in mind that any other apps that send messages to local7.info could be mixed in w/ your apache log entries.
It would be good to keep a copy of the access logs archived on a remote host so you have an audit trail in the event you're server get compromised.
Assigning points to ITRC threads is easy enough. Just be sure you're logged into the ITRC when you view your thread's responses. You should see a "pull down" for selecting point values, then I think you click something like "assign points"... you'll see.
Hope this gives you some ideas to build off of and test.
-denver
Log directive might look something like this in your apache config
Customlog "| logger -t hostname_httpd -p local7.info" combined
Then you could configure your syslog to log to a remote host's syslog. (man syslogd for details)
# vi /etc/syslogd.conf
local7.info @remotehost
local7.info /var/adm/syslog/httpd.log
# kill -HUP
The above syslogd.conf entries should send all "local7.info" priority messages to the remote nodes syslog and a local log file.
*Keep in mind that any other apps that send messages to local7.info could be mixed in w/ your apache log entries.
It would be good to keep a copy of the access logs archived on a remote host so you have an audit trail in the event you're server get compromised.
Assigning points to ITRC threads is easy enough. Just be sure you're logged into the ITRC when you view your thread's responses. You should see a "pull down" for selecting point values, then I think you click something like "assign points"... you'll see.
Hope this gives you some ideas to build off of and test.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 04:43 AM
05-25-2005 04:43 AM
Re: Remote logging of access log and syslog files
It depends on your mechanism for accessing those remote server disks.
If you're using NFS to access them then you create another point of failure by involving a NFS connection. If the remote machine needs a reboot, it could effect your setup.
Another option would be to log them locally and then write a script that will archive and ftp or email the old logs to a central machine.
The advantage to this approach is that if the archiving mechanism breaks, its unlikely to effect your ongoing production.
Best regards,
Kent M. Ostby
If you're using NFS to access them then you create another point of failure by involving a NFS connection. If the remote machine needs a reboot, it could effect your setup.
Another option would be to log them locally and then write a script that will archive and ftp or email the old logs to a central machine.
The advantage to this approach is that if the archiving mechanism breaks, its unlikely to effect your ongoing production.
Best regards,
Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP