Vinnyard
(Viktor)
March 9, 2020, 5:20pm
20
filebeat.inputs:
- type: log
enabled: true
json.keys_under_root: true
paths:
- /var/log/report-generator/report-generator.log
#================================ Outputs =====================================
# Configure what outputs to use when sending the data collected by the beat.
# Multiple outputs may be used.
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["elk.trendhero.io:9200"]
index: "trendhero-%{+yyyy.MM.dd}"
# Optional protocol and basic auth credentials.
protocol: "https"
username: "elastic"
password: "REMOVED"
setup.template:
name: 'trendhero'
pattern: 'trendhero-*'
enabled: false
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "trendhero"
setup.ilm.pattern: "{now/d}-000001"
logging.level: info
processors:
- drop_event:
when:
not:
equals:
exportable: true