The {modulename} module parses access logs created by Træfik.
With Elasticsearch < 6.7, this module requires the {plugins}/ingest-user-agent.html[ingest-user-agent] and {plugins}/ingest-geoip.html[ingest-geoip] Elasticsearch plugins.
This module comes with sample dashboards. For example:
The following example shows how to set paths in the modules.d/{modulename}.yml file to override the default paths for Træfik logs:
- module: traefik
access:
enabled: true
var.paths: ["/usr/local/traefik/access.log*"]
To specify the same settings at the command line, you use:
-M "traefik.access.var.paths=[/path/to/traefik/access.log*]"