Documentation Center
AlienVault® USM Anywhere™

Apache Web Server

When you configure the Apache Web Server integration to send log data to USM Anywhere, you can use the Apache Web Server plugin to translate the raw log data into normalized events for analysis.

Device Details
Device vendor Apache
Device type Web server
Connection type syslog

Integrating Apache Web Server

Before you configure the integration, you must have the IP Address of the USM AnywhereUSM Appliance Sensor.

To configure Apache to send log data to the USM Anywhere Sensor

  1. Enter

    ErrorLog syslog:local1

    This tells Apache to send the error log output to the syslog facility called local1.

    You must also tell your syslog server to send this log output to the USM Anywhere Sensor and to write it to a log file.

  2. To send log entries to the USM Anywhere Sensor, enter

    local1.* @<USM_ANYWHERE_SENSOR_IP_ADDRESS>

To send Apache log data on AWS through CloudWatch

  1. Follow the instructions on the AWS web site to install the CloudWatch Agent on your host.

    Note: If you choose to enable CloudWatch in your AWS environment, you should make sure that you are not collecting more data than you need because this service incurs AWS costs based upon usage. Refer to the pricing information to plan and configure your usage.

  2. Configure the agent to send Windows logs to the group Apache-Access-Logs.
  3. In USM Anywhere, go to Settings > Scheduler and enable the CloudWatch - Apache-Access-Logs job.

    This enables USM Anywhere to find the logs automatically.

    Enable the default Apache-Access-Logs job in the Scheduler

  4. Wait for events to appear in the Events page.

Plugin Enablement

The Apache plugin automatically processes all messages that have "apache" as the syslog tag.

Available Plugin Fields

The following plugin fields are important attributes extracted from the syslog message. USM Anywhere reports use these fields, and you can also reference them when creating custom reports. In addition to reporting, the USM Anywhere correlation rules make use of these fields.

  • application_protocol
  • bytes_out
  • event_description
  • event_name
  • request_method
  • request_url
  • response_code
  • source_address
  • time_zone
  • timestamp_occured

Troubleshooting

For troubleshooting, refer to the vendor documentation:

https://www.linode.com/docs/troubleshooting/troubleshooting-common-apache-issues