Hi Elastic Team,
After installing and configuring Filebeat and Logstash, i can consult my gathered logs in Kibana.
So, today full of confidence, i decided to install metricbeat.... and then, the drama ! LOL
I inform that metricbeat was installed as a service on a Windows 7 environment.
No metrics were send to logstash. I notice several errors in the metricbeat logfile.
ERROR logstash/async.go:235 Failed to publish events caused by: read tcp XXXX : i/o timeout
ERROR logstash/async.go:235 Failed to publish events caused by: client is not connected
ERROR process/process.go:454 Error getting process details. pid=9696: error getting process arguments for pid=9696: ProcArgs failed for pid=9696: could not get Win32_Process WHERE ProcessId = 9696: Process not found
While i have no problems with filebeat...
in the metricbeat conf file, i have :
metricbeat.config.modules:
path: ${path.config}/modules.d/*.yml
reload.enabled: false
reload.period: 60s
setup.template.settings:
index.number_of_shards: 1
index.codec: best_compression
output.logstash:
# The Logstash hosts
hosts: mylogstash.url.com:5044
logging.level: info
logging.metrics.enabled: true
logging.metrics.period: 30s
logging.to_files: true
logging.files:
path: "C:/ProgramData/TW/HWM/metricbeat/logs"
name: metricbeat
rotateeverybytes: 10485760
keepfiles: 7
permissions: 0600
logging.json: false
Do I have to specify something else on metricbeat and/or logstash conf ?
Any ideas... ?
Thanks a lot for your help or any suggestions.
BR,
Khaled