Skip to content

Commit

Permalink
Fixed Davrods logs not appearing in ELK [DHDO-64]
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlinssen committed Dec 9, 2021
1 parent 1788d45 commit 7d65b61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion config/davrods-vhost.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
# its default options.
#
<VirtualHost *:80>
# We override the logfile location here so we can send these logs via Filebeat
ErrorLog /var/log/httpd/apache.error.log
CustomLog /var/log/httpd/apache.access.log common

# Enter your server name here.
ServerName www.example.com
Expand Down Expand Up @@ -149,4 +152,4 @@
# For HTTPS-only access, change the port at the start of the vhost block
# from 80 to 443 and add your SSL options below.

</VirtualHost>
</VirtualHost>
4 changes: 2 additions & 2 deletions filebeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ filebeat.inputs:
json.overwrite_keys: true
enabled: true
paths:
- /var/log/httpd/access.log
- /var/log/httpd/error.log
- /var/log/httpd/apache.access.log
- /var/log/httpd/apache.error.log
tags: ["DAVRODS"]

# Disable filebeat monitoring
Expand Down

0 comments on commit 7d65b61

Please sign in to comment.