Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filebeat: apache2(httpd) log path add to module manifest #11888

Merged
merged 2 commits into from
Apr 24, 2019

Conversation

DanielTimLee
Copy link
Contributor

@DanielTimLee DanielTimLee commented Apr 22, 2019

Fedora, RHEL7 apache package (httpd) create logs to
'/var/log/httpd' instead of '/var/log/apache2' directory,
and the log files are named as '*_log' instead of '.log' format.

To make Filebeat apache2 module work out of the box on these
environments, add '/var/log/httpd/*_log' pattern to the manifest
file will solve this problem.

Fixed: #11887

Signed-off-by: Daniel T. Lee danieltimlee@gmail.com

Fedora, RHEL7 apache package (httpd) create logs to
'/var/log/httpd' instead of '/var/log/apache2' directory,
and the log files are named as '*_log' instead of '.log' format.

To make Filebeat apache2 module work out of the box on these
environments, add '/var/log/httpd/*_log' pattern to the manifest
file will solve this problem.

Fixed: elastic#11887

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
@DanielTimLee DanielTimLee requested a review from a team as a code owner April 22, 2019 01:23
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@ruflin ruflin added Team:Integrations Label for the Integrations team Filebeat Filebeat module labels Apr 23, 2019
@exekias
Copy link
Contributor

exekias commented Apr 23, 2019

Thank you for contributing! this is looking good, could you please add a changelog entry in CHANGELOG.next.asciidoc?

- Add apache2(httpd) log path (`/var/log/httpd`) to make apache2 module work
out of the box on Redhat-family OSes. {issue}11887[11887] {pull}11888[11888]

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
@DanielTimLee
Copy link
Contributor Author

Thanks for the review!
Changelog updated.

@exekias
Copy link
Contributor

exekias commented Apr 24, 2019

jenkins, test this please

@exekias exekias merged commit 1e080fd into elastic:master Apr 24, 2019
@exekias
Copy link
Contributor

exekias commented Apr 24, 2019

thank you for contributing @DanielTimLee!! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Filebeat Filebeat module Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Filebeat] apache2 log directory not match?
5 participants