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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content