Hello,
Currently, I have filebeat version 7.9.1 and trying to use it with Elasticsearch 7.9.1, I don't want to load any dashboards to Kibana as I just want to push the data to specific index of Elastic search, I have used the below configuration but when I run filebeat setup -e
it's trying to connect to http://localhost:5601, hence it's failing with Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to http://localhost:5601/api/status fails:
Can you please help me why it's trying to reach to Kibana, all I want is push to data to a specific index of elasticsearch index.
# ============================== Filebeat inputs ===============================
filebeat.inputs:
- type: log
enabled: false
paths:
- '/usr/share/filebeat/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
# ======================= Elasticsearch template setting =======================
setup.template.enabled: false
setup.dashboards.enabled: false
output.elasticsearch:
hosts: ['http://localhost:9200']
username: 'elastic'
password: 'changeme'
index: 'testing_index'