About the Device
Apache is a web server software that is responsible for accepting HTTP requests from visitors and sending them back the requested information in the form of web pages. The Apache http server provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
Device Information
Entity | Particulars |
---|---|
Vendor Name | The Apache Software Foundation |
Product Name | Apache HTTP Server |
Type of Device | Hosted |
Collection Method
Log Type | Ingestion label | Preferred Logging Protocol - Format | Log collection method |
---|---|---|---|
Apache | APACHE | Syslog - Unstructured | CyberHub |
Port Requirements
Source | Destination | Port |
---|---|---|
Apache HTTP Server | CyberHub | 10014 (TCP) |
To facilitate secure communication and align with our best practice, we strongly encourage the use of Transport Layer Security (TLS) between your security devices and our Adaptive MxDR platform for event forwarding.
While we understand that TLS support may not be available on all devices, if your devices do support TLS communication, we recommend utilizing port 6514 for seamless integration.
In some cases, the upgraded version of the device might incorporate TLS support without prior notice. If you come across such a scenario or for further assistance in configuring TLS, we kindly ask you to reach out to your dedicated Adaptive MxDR Service Delivery Lead.
Device Configuration
Pre-requisite - Generate certificate on CyberHub using the following steps.
Go to support user mode by executing following command
su - support
on Cyberhub terminal and chooseoption 29 - Manage the TLS certificates
.Choose
option 2 - View EA Server TLS certificate
and this will print Private Key and Certificate content on console.Copy certificate from the console output to a file and save it.
Here you should copy and paste content from ----BEGIN CERTIFICATE----
to ----END CERTIFICATE----
.
Steps to configure NxLog Agent for Apache Logs on port 10014 (Windows):
Download and install the NXLog Windows agent from the following location: https://nxlog.co/products/nxlog-community-edition/download.
Navigate to
services.msc
and stop the nxlog service.Go to the folder
C:\Program Files\nxlog\data
and delete the fileconfigcache.dat
if it present.Rename the attached file to
and copy intoC:\Program Files\nxlog\conf.
folder.Replace the placeholder
CyberHub IP
with the actual CyberHub IP in the nxlog.conf file.Copy the previously created certificate file on Windows machine where nxlog agent is installed and mentioned this cert path in nxlog.conf against "CAFile" on line number 47.
Start the NxLog service from services.msc.
NXLog agent logs will be available at the location
C:\Program Files\nxlog\data\nxlog.log
.The log flow should work, and you can check it using tcpdump with the command
tcpdump -AA port 10014
Steps to configure NxLog Agent for Apache Logs on port 10014 (Linux):
Download and install the NXLog Linux agent from the following location: https://nxlog.co/products/nxlog-community-edition/download.
Stop NxLog service
Rename the attached
file tonxlog.conf
and copy into/etc/
folder.Replace the placeholder
CyberHub IP
with the actual CyberHub IP in the nxlog.conf file.Copy the previously created certificate file on Linux machine where nxlog agent is installed and mentioned this cert path in “nxlog.conf” against "CAFile" on line number 39.
Start the NxLog service
NxLog agent logs will be available at location "/var/log/nxlog.log".
The log flow should work, and you can check it using tcpdump with the command
tcpdump -AA port 10014
Integration Parameters
Parameters required from customer for Integration.
Property | Default Value | Description |
---|---|---|
IP Address | Apache HTTP Server interface IP address | Hostname or IP address of the device which forwards logs to the CyberHub |