Sending Apache httpd access and error logs from multiple virtual hosts to local and remote syslog/rsyslog

Updated -

Abstract

There is a lot of conflicting and extremely outdated information floating around the Internet about how to get logs from Apache httpd to a remote syslog server. This article aims to clear that up by properly-utilizing standard features of rsyslog or leveraging capabilities of the latest logger commands.

Table of Contents

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In