Indentation issue with apache module ( Filebeat 7.5 )

Hello,
I have a problem with the apache module of filebeat ( version 7.5). I followed the next tutorial : Apache module | Filebeat Reference [8.11] | Elastic but when i execute filebeat, filebeat returns this error :

Exiting: 1 error: invalid config: yaml: line 13: could not find expected ':'

i think this is an indentation problem in the file : "apache.yml" but i don't find it
Do you have any idea ?
apache.yml:

#Module: apache
#Docs: https://www.elastic.co/guide/en/beats/filebeat/7.5/filebeat-module-apache.html
- module: apache
  #Access logs
  access:
    enabled: true
    #Set custom paths for the log files. If left empty,
    #Filebeat will choose the paths depending on your OS.
    var.paths:["path/AccessLog/*.log"]
  #Error logs
  error:
    enabled: true
    #Set custom paths for the log files. If left empty,
    #Filebeat will choose the paths depending on your OS.
    var.paths:["path/ErrorLog/*.log"]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.