Apache HTTP Server
Apache HTTP Server
Apache HTTP Server
Last Modified: Friday, October 31, 2014
Event Source (Device) Product Information
Vendor Apache
Event Source (Device) HTTP Server
Supported Versions 2.1, 2.2, 2.4
Additional Downloads sftpagent.conf.apache
nicsftpagent.conf.apache
RSA Product Information
Supported Version RSA enVision 4.1
Device Type apache, 45
Collection Method File Reader
Device Class.Subclass Host.Web Logs
Content 2.0 Table Web
This document contains the following information for the Apache HTTP Server event source:
l Configuration Instructions
l Release Notes 20141031-154112
Note: For Apache HTTP Server, you can choose to configure Syslog or File collection, but not both.
Important: RSA prefers the use of the new logging format for configuring Apache HTTP Server
for Windows and Unix.
where 86400 represents the number of seconds to keep the current log file open before rotating it
and starting a new log.
l For an earlier logging format, verify that the following script is present (and not commented out) in
the httpd.conf file on the Apache server:
LogFormat "%h %l %u %t %r %>s %b" common
CustomLog '|"C:/Program Files/Apache Group/Apache2/bin/rotatelogs.exe"
"logs/access_log" 86400' common
where 86400 represents the number of seconds to keep the current log file open before rotating it
and starting a new log.
Note: These scripts create a log file called access_log<timestamp> when the log file is rotated. These
are the logs that are sent to the RSA enVision appliance server via FTP. The enVision NIC File Reader
service reads the files.
where 86400 represents the number of seconds to keep the current log file open before rotating it
and starting a new log.
l For an earlier form of logging, verify the following lines are present (and not commented out) in
the httpd.conf file on the Apache server:
LogFormat "%h %l %u %t %r %>s %b" common CustomLog
"|/usr/local/apache/bin/rotatelogs /var/log/access_log 86400" common
where 86400 represents the number of seconds needed to keep the current log file open before
rotating it and starting a new log.
Note: The SFTP sample file is available on RSA SecurCare Online (SCOL) and on the RSA
enVision appliance. For details, see RSA enVision NIC SFTP Agent Configuration, which is
available on SecurCare Online.
Note: The SFTP sample file is available on RSA SecurCare Online (SCOL) and on the RSA
enVision appliance. For details, see RSA enVision NIC SFTP Agent Configuration, which is
available on SecurCare Online.
a. From SecurCare Online in the Browse by Product Family section, click RSA enVision.
b. From the navigation pane at the top, select Documentation, and click RSA enVision
Device Configurations.
c. From the list, find the desired event source for which you want the sample file. The name of
the sample file is nicsftp.conf.eventsourcename, where eventsourcename is the name of
the event source.
d. Change the name of the file to nicsftpagent.conf, and save it to the /usr/local/nic/
directory.
3. To set up the NIC SFTP Agent, you must edit the NIC SFTP Agent sample file. You must update
the following parameters:
Setting Description
ENVISION Set this value to the IP address of the RSA enVision server.
ENVISION_ event_source_IP_address
DIRECTORY Where event_source is the label for the event source (you do not need to change
this label), and IP_address is the IP address for the event source
For example, if the event source is EMC Isilon, and its IP address is 172.16.0.51,
set the parameter as follows:
ENVISION_DIRECTORY=EMCISILON_172.16.0.51
Note: The above line appears on two lines in this document, but you should add it as a single line
into the httpd.conf file.
and replace combined with rsa, so that the line reads as follows:
CustomLog logs/access_log rsa