Unable to ingest apache2 logs through filebeat

The vars.paths setting in the apache module requires an array. The template engine complaints about it being a plain string.

Update your modules setting to say:

filebeat.modules:

#------------------------------- Apache2 Module ------------------------------
- module: apache2
  access:
    enabled: true

    # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    var.paths:
      - '/opt/bea/Logwarhouse/MarketApache/*access.log'


  error:
    enabled: true

    # Set custom paths for the log files. If left empty,
    # Filebeat will choose the paths depending on your OS.
    var.paths:
      - '/opt/bea/Logwarhouse/MarketApache/*error.log'