Error while installing filebeat

I am getting following error while running command .\filebeat -e
ERROR fileset/factory.go:105 Error creating input: No paths were defined for input ac
cessing config

Elasticsearch - 6.5.4
searchguard - search-guard-6-6.5.4-24.0

filebeat.yml

    ###################### Filebeat Configuration Example #########################

#=========================== Filebeat inputs =============================

filebeat.inputs:



- type: log

 
  enabled: true

 
  paths:
    - /var/log/*.log
    #- c:\programdata\elasticsearch\logs\*

  
#============================= Filebeat modules ===============================

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

 
  reload.enabled: false

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

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

#================================ General =====================================



setup.kibana:
  host: "localhost:5601"
  http://localhost:5601/path
 
  host: "10.199.89.125:5601"

#================================ Outputs =====================================


setup.template.name: "filebeat"
setup.template.pattern: "filebeat-*"
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
 
  hosts: ["https://localhost:9200"]
  index: "beats-%{+yyyy.MM.dd}"
  #protocol: "https"
  #ssl_certificate_verification: false
  #verification_mode: none
  #Optional SSL. By default is off.
  ssl.enabled: true
  #List of root certificates for HTTPS server verifications
  ssl.certificate_authorities: ["E:/TDPP/Elastic_Search/elk-6.5.4/elasticsearch-6.5.4/config/root-ca.pem"]
  #Certificate for SSL client authentication
  ssl.certificate: "E:/TDPP/Elastic_Search/elk-6.5.4/elasticsearch-6.5.4/config/esnode.pem"
  #Client Certificate Key
  ssl.key: "E:/TDPP/Elastic_Search/elk-6.5.4/elasticsearch-6.5.4/config/esnode-key.pem"
 
  username: "admin"
  password: "admin"

#================================ Procesors =====================================


processors:
  - add_host_metadata: ~
  - add_cloud_metadata: ~

#================================ Logging =====================================


#============================== Xpack Monitoring ===============================

The error means that one of the log inputs doesn't have any paths configured, but one log input in your configuration seems correctly configured. Do you have perhaps any modules enabled? If you don't you can try to comment out the filebeat.config.modules section, to rule that out.

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