#=========================== Filebeat inputs =============================
filebeat.prospectors:
Each - is an input. Most options can be set at the input level, so
you can use different inputs for various configurations.
Below are the input specific configurations.
-
input_type: log
Change to true to enable this input configuration.
enabled: true
encoding: utf-8
Paths that should be crawled and fetched. Glob based paths.
paths:
- c:\Users\PankajKoushik\Downloads\log-aggregation-spring-boot-elastic-stack-master\notification\logs*.log
#- c:\programdata\elasticsearch\logs*
- c:\Users\PankajKoushik\Downloads\log-aggregation-spring-boot-elastic-stack-master\notification\logs*.log
#============================= 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: true
Period on which files under path should be checked for changes
#reload.period: 10s
#================================ Outputs =====================================
#-------------------------- Elasticsearch output --------------------------------
output.elasticsearch:
The
#-------------------------- Elasticsearch hosts
hosts: ["http://9.220.132.5:8080"]
index: "filebeat-%{+yyyy.MM.dd}"
I have this filebeat.yml