Error: Exiting: No paths were defined for input accessing config

Dear Tem,

I am unable to start filebeat.

Here is my Configuration File:
#============================= Filebeat modules ===============================

filebeat.config.modules:

Glob pattern for configuration loading

path: ${path.config}/modules.d/*.yml

Set to true to enable config reloading

reload.enabled: false

Period on which files under path should be checked for changes

#reload.period: 10s

#==================== Elasticsearch template setting ==========================

setup.template.settings:
index.number_of_shards: 1
#index.codec: best_compression
#_source.enabled: false

#================================ Processors =====================================

Configure processors to enhance or manipulate events generated by the beat.

processors:

  • add_host_metadata: ~
  • add_cloud_metadata: ~
    output.elasticsearch:
    hosts: ["http://127.0.0.1:9200"]
    username: ""
    password: ""
    setup.kibana:
    host: "http://127.0.0.1:5601"
    filebeat.inputs:
  • type: log
    enabled: true
    paths:
    • 'D:/ELK/filebeat/logs/'
      #- '/var/log/
      .log'
      #- C:/Program Files/Elastic/Elasticsearch/7.2.0/logs/*.log

and I am running with enable logstash.
and I am running on window-10

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