Skip to content

Commit

Permalink
Update Windows paths for chocolatey installed packages (#3524)
Browse files Browse the repository at this point in the history
Done for:
- nginx
- apache

Mysql seems to use windows event logs by default.

Syslog doesn't really exist on Windows. Currently no paths are defined, which
result in an error when starting Filebeat.

Part of #3159.
  • Loading branch information
tsg authored and ruflin committed Feb 5, 2017
1 parent 2d260be commit cde1e46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion filebeat/module/apache2/access/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ var:
os.darwin:
- /usr/local/var/log/apache2/access_log*
os.windows:
- "C:/Program Files/Apache Software Foundation/Apache2.4/logs/access.log*"
- "C:/tools/Apache/httpd-2.*/Apache24/logs/access.log*"
- "C:/Program Files/Apache Software Foundation/Apache2.*/logs/access.log*"
- name: pipeline
# options: with_plugins, no_plugins
default: with_plugins
Expand Down
3 changes: 2 additions & 1 deletion filebeat/module/apache2/error/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ var:
os.darwin:
- /usr/local/var/log/apache2/error_log*
os.windows:
- "C:/Program Files/Apache Software Foundation/Apache2.4/logs/error.log*"
- "C:/tools/Apache/httpd-2.*/Apache24/logs/error.log*"
- "C:/Program Files/Apache Software Foundation/Apache2.*/logs/error.log*"

ingest_pipeline: ingest/pipeline.json
prospector: config/error.yml
2 changes: 1 addition & 1 deletion filebeat/module/nginx/access/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var:
os.darwin:
- /usr/local/var/log/nginx/access.log*
os.windows:
- c:/programfiles/nginx/logs/access.log*
- c:/programdata/nginx/logs/*access.log*
- name: pipeline
# options: with_plugins, no_plugins
default: with_plugins
Expand Down
2 changes: 1 addition & 1 deletion filebeat/module/nginx/error/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var:
os.darwin:
- /usr/local/var/log/nginx/error.log*
os.windows:
- c:/programfiles/nginx/logs/error.log*
- c:/programdata/nginx/logs/error.log*

ingest_pipeline: ingest/pipeline.json
prospector: config/nginx-error.yml

0 comments on commit cde1e46

Please sign in to comment.