Apache Logs Integration
To make use of the Sematext Apache Logs integration, you'll need to send Apache logs to your Sematext Logs App. The easiest way is via Discovery, which can parse Apache logs out of the box.
Once data is in, you can explore it via the built-in reports:
Be sure to check out the Apache Monitoring integration as well, to get a complete view on Apache. For example, if you see an increase in 4XX errors, monitoring can tell what's the impact on Apache's response times and CPU usage.
Setting up Apache Log Shipping¶
All you need to do is use Discovery to Set Up log shipping.
Exploring logs¶
Once data is in, you can explore it using the built-in reports or create your own. For example, you can use the Users report to check on where the requests are coming from:
Other built-in reports include:
- Errors: Logs specifically about errors. You can see which status codes are returned and which errors are logged by your Apache server.
- HTTP: Logs about Apache access logs. Use this report to view any and all data about HTTP requests and responses.
- Sources: Logs about Apache source files. You can view where the logs are collected from and from where in the world users are accessing your Apache server.
Troubleshooting¶
If you have trouble sending logs, try out the latest version of Sematext Agent. Also, make sure Sematext Agent is configured to send logs to your Apache Logs App. If you're using Apache in a container, make sure to configure it to output logs to the stdout/stderr streams.